/* PROFILE PAGE ONLY (profile.html)
   Styles specific to the user Profile page.
   Shared components (cards, buttons, nav) live in style.css */


/* Profile page base */
.profile-page {
    background-color: #ffffff;
    min-height: 100vh;
}


/* ---Search bar Profile only--- */
.profile-page .top-search {
    flex: 1;
    display: flex;
    justify-content: left;
}


.profile-page .top-search input {
    width: 100%;
    max-width: 520px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0 12px;
    outline: none;
}

/* ------Main Profile Layout------ */
/* Wrapper for profile content */
.profile-main {
    padding: 40px 24px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    position: relative;

}

/* Profile welcome banner */
.profile-page .profile-welcome {
    background-color: #31C3C9;
    font-size: 32px;
    color: #000;
    margin-bottom: 40px;
    width: 520px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* profile content rows */
.profile-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/*Form styling profile only*/
.profile-page .profile-card label {
    display: block;
    margin: 12px 0 6px;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}


/* Slightly wider spacing on profile page */
.profile-page .profile-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}


/* Text field container */
.profile-page .profile-fields {
    flex: 1;
    min-width: 0;
}


/* Back button position for Profile page */
.profile-page .back-btn {
    top: 40px;
    left: 20px;
}

/* Center the "View saved & favorite attractions" button */
.profile-page .profile-btn-secondary {
    display: block;
    margin: 20px auto 0;
}

.profile-page .profile-btn-secondary {
    display: inline-block;
    background-color: #ffd966;
    ;
    color: #000000;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin: 20px auto 0;
    cursor: pointer;
}

/* View-mode info rows */
.profile-page .info-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.profile-page .info-row:last-child {
    border-bottom: none;
}

.profile-page .info-label {
    font-weight: 700;
    color: #000;
}

.profile-page .info-value {
    color: #222;
    text-align: right;
}

/* Bigger text blocks (bio/interests) */
.profile-page .info-block {
    margin: 14px 0;
}

.profile-page .info-block .info-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.profile-page .info-block .info-value {
    background: rgba(255, 255, 255, 0.35);
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.4;
}

/* Profile photo inside the existing circle */
.profile-page .profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}