/* Header */
.header {
    /* background: #39533B;  */
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-logo {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.header-logo a {
    display: flex;
    align-items: center;
}

/* User Profile (index.php style) */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile.guest {
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
}

.user-profile.guest:hover {
    background: rgba(255, 255, 255, 0.25);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.15); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-icon:hover {
    background: rgba(255, 255, 255, 0.25);
}

.notification-icon .material-icons {
    font-size: 22px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #556B47;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar .material-icons {
    font-size: 20px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

/* User Badge (my-services-new.php style) */
.user-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

/* Back Button (optional) */
.back-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 20px;
    color: white;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-2px);
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

/* Header Right Icons Group */
.header-icons-group {
    display: flex;
    align-items: center;
    gap: 16px; /* 이모티콘 사이 여백 */
}

.header-icon-btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #4a5a42 !important; /* 보태니컬 그리니 메인 색상 */
    font-size: 20px !important; /* 딱 이모티콘만 더 크게 */
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.header-icon-btn:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

.header-icon-btn .material-icons {
    font-size: 30px !important;
}

/* 프로필 이미지가 있을 때 동그란 가공 처리만 깔끔히 적용 (외곽 서클 테두리/배경음 없음) */
.profile-img-btn {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-img-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
