.rating-box{
    margin:60px 0;
    padding:30px;
    background:#ffffff;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
}

.rating-box h3{
    margin-bottom:10px;
    font-size:1.7rem;
}

.rating-box p{
    color:#666;
    margin-bottom:25px;
}

.rating-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.rating-btn{
    border:none;
    padding:14px 28px;
    border-radius:50px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.rating-btn:hover{
    transform:translateY(-4px);
}

.good{
    background:#22c55e;
    color:#fff;
}

.average{
    background:#f59e0b;
    color:#fff;
}

.bad{
    background:#ef4444;
    color:#fff;
}
.journey-rating{
    max-width:700px;
    margin:70px auto;
    padding:35px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
}

.journey-rating h2{
    font-size:2rem;
    margin-bottom:10px;
}

.journey-rating p{
    color:#666;
    margin-bottom:20px;
}

#visitorName{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    margin-bottom:25px;
}

.rating-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.rating-btn{
    border:none;
    padding:15px 28px;
    border-radius:10px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.good{
    background:#22c55e;
    color:#fff;
}

.average{
    background:#f59e0b;
    color:#fff;
}

.bad{
    background:#ef4444;
    color:#fff;
}

.rating-btn:hover{
    transform:translateY(-3px);
}

.rating-btn.active{
    transform:scale(1.08);
    box-shadow:0 8px 20px rgba(0,0,0,.2);
}

#submitRating{
    margin-top:25px;
    padding:14px 35px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:white;
    cursor:pointer;
    font-size:16px;
}

#submitRating:hover{
    background:#1d4ed8;
}

#ratingMessage{
    margin-top:20px;
    font-weight:600;
    color:green;
}
/* ==========================
   COMMUNITY RATING
========================== */

.rating-summary{

    margin-top:40px;

    background:#ffffff;

    border-radius:18px;

    padding:25px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.rating-summary h3{

    text-align:center;

    margin-bottom:25px;

    font-size:1.4rem;

}

.rating-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:15px 0;

    font-size:1.05rem;

}

.rating-row span:last-child{

    font-weight:700;

    color:#0d6efd;

}

.rating-row.total{

    font-size:1.15rem;

    font-weight:700;

}

.rating-summary hr{

    margin:20px 0;

    border:none;

    border-top:1px solid #ddd;

}
.google-login-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    width:100%;
    max-width:320px;

    margin:20px auto;

    padding:14px 20px;

    border:1px solid #dadce0;
    border-radius:10px;

    background:#fff;

    font-weight:600;
    cursor:pointer;

    transition:.25s;
}

.google-login-btn:hover{
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.rating-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:nowrap;

    margin:25px 0;

}
.rating-btn{

    flex:1;

    max-width:160px;

    height:60px;

    border-radius:14px;

    font-size:18px;

    font-weight:700;

}
.rating-btn.active{

    transform:scale(1.06);

    box-shadow:0 8px 20px rgba(0,0,0,.2);

}
#submitRating{

    width:100%;

    max-width:280px;

    margin:auto;

    display:block;

    padding:16px;

    font-size:18px;

    border-radius:14px;

}
/* ==========================
   USER PROFILE
========================== */

#userInfo{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    margin:25px auto;

    padding:15px 20px;

    background:#f8f9fa;

    border-radius:15px;

    width:fit-content;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

#userPhoto{

    width:50px;

    height:50px;

    border-radius:50%;

    border:3px solid #0d6efd;

    object-fit:cover;

}

#userName{

    font-size:18px;

    font-weight:700;

    color:#222;

}

#logoutBtn{

    border:none;

    background:#dc3545;

    color:white;

    padding:10px 18px;

    border-radius:10px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

#logoutBtn:hover{

    background:#bb2d3b;

    transform:translateY(-2px);

}