/* ==========================================================================
   User Profile Page & Hero Card Styles
   ========================================================================== */

/* Profile Hero & Card CSS */
.profile-hero-card {
    background-image: linear-gradient(135deg, rgba(238, 90, 54, 0.9) 0%, rgba(241, 163, 86, 0.6) 60%),
        url('../images/asset/hero/card_bg.png');
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.profile-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.profile-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 3rem;
}

.profile-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-welcome {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 1.2rem;
    margin-bottom: 0.1rem;
}

.profile-name {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.profile-details-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-detail-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.profile-detail-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-hero-image-container {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.profile-hero-image {
    height: 92%;
    object-fit: contain;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.profile-hero-card:hover .profile-hero-image {
    transform: translateY(0px) scale(1.03);
}

@media (max-width: 991.98px) {
    .profile-hero-image-container {
        display: none;
    }

    .profile-hero-content {
        padding: 2.5rem 1.5rem;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .mobile-mt-100 {
        margin-top: 80px !important;
    }
}

.section-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0;
}

.update-badge {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #64748B;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Avatar styling */
.profile-avatar-outer {
    width: 120px;
    height: 120px;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.profile-avatar-inner i {
    font-size: 2.75rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Status badge custom outline */
.status-badge-custom {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
    line-height: 1;
}

.status-badge-custom.unverified {
    border: 1px solid #EE5A36;
    background: rgba(238, 90, 54, 0.04);
    color: #EE5A36;
}

.status-badge-custom.verified {
    border: 1px solid #10B981;
    background: rgba(16, 185, 129, 0.04);
    color: #10B981;
}

.status-badge-custom.pending {
    border: 1px solid #3B82F6;
    background: rgba(59, 130, 246, 0.04);
    color: #3B82F6;
}

.status-badge-custom.revisi {
    border: 1px solid #F59E0B;
    background: rgba(245, 158, 11, 0.04);
    color: #F59E0B;
}

/* Edit Button */
.btn-edit-profile {
    background: #EE5A36;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(238, 90, 54, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-edit-profile:hover {
    background: #e04b27;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 54, 0.3);
}

/* Readonly inputs */
.detail-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.detail-input-readonly {
    height: 52px;
    background-color: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155 !important;
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    width: 100%;
    cursor: not-allowed;
    user-select: none;
}

@media (max-width: 767.98px) {
    .profile-row-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .profile-actions-wrapper {
        width: 100%;
        justify-content: center;
        display: flex;
        margin-top: 1rem;
    }

    .btn-edit-profile {
        width: 100%;
        justify-content: center;
    }
}

.profile-page-wrapper {
    position: relative;
    background-image: url('../images/asset/ornament/ornament_bg.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 350px;
    min-height: 100vh;
}

.section-profile {
    margin-top: 100px;
}
