﻿.details-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.7);
    border: 1px solid #e7edf6;
    width:fit-content;
}

.details-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.details-info-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.details-info-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}


.details-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 0.13fr));
    gap: 0px;
}


.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(79,70,229,.08);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-label svg,
.info-label {
    display: flex;
    align-items: center;
    gap: 15px;
}



.profile-cover {
    box-shadow: 0 24px 50px rgba(15,23,42,.12);
}

.client-code-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background: rgba(79,70,229,.08);
    color: #4f46e5;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.notes-content {
    line-height: 1.9;
    color: #334155;
    font-size: 15px;
    padding-top: 8px;
    min-height: 90px;
}

.details-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.info-value {
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}


.details-avatar-image {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 20px 40px rgba(15,23,42,.18);
}

.profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.profile-summary-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 30px rgba(15,23,42,.04);
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.section-title-with-action {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.section-title-left {
    align-items: center;
    display: inline-flex;
    gap: 12px;
}

.empty-state-inline {
    color: #64748b;
    font-size: 15px;
    padding: 14px 0 4px;
}

.assignment-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 18px;
}

.assignment-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dbe7f6;
    border-radius: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr auto;
    padding: 16px;
}

.assignment-avatar {
    align-items: center;
    background: #eef2ff;
    border-radius: 14px;
    color: #4f46e5;
    display: inline-flex;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.assignment-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.assignment-content strong {
    color: #111827;
    font-size: 16px;
}

.assignment-content span {
    color: #4f46e5;
    font-size: 13px;
    font-weight: 800;
}

.assignment-content small {
    color: #64748b;
    font-size: 12px;
}

.assignment-content p {
    color: #475569;
    font-size: 13px;
    margin: 8px 0 0;
}

.assignment-remove {
    align-items: center;
    background: #fff1f2;
    border: 0;
    border-radius: 12px;
    color: #e11d48;
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

    .profile-summary-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(15,23,42,.08);
    }

    .profile-summary-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( 90deg, #4f46e5, #6366f1);
    }

.summary-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.summary-value {
    color: #0f172a;
    font-size: 24px;
    font-weight: 800;
}

.details-header {
    text-align: center;
    margin-top: -55px;
    margin-bottom: 30px;
}

.details-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 18px;
}

.details-subtitle {
    color: #64748b;
    font-size: 15px;
    margin-top: 6px;
}



/* =====================================================
   PROFILE COVER
   ===================================================== */

.profile-cover {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 260px;
    border-radius: 32px;
    overflow: hidden;
    overflow: visible;
    margin-bottom: 120px;
    background: linear-gradient( 135deg, #0f172a 0%, #1e293b 25%, #312e81 60%, #4f46e5 100%);
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
}

/* =====================================================
   PATTERN
   ===================================================== */

.profile-cover-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient( rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .7;
}

/* =====================================================
   GLOW EFFECTS
   ===================================================== */

.profile-cover-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .45;
}

.glow-1 {
    width: 260px;
    height: 260px;
    background: #6366f1;
    top: -80px;
    left: -40px;
}

.glow-2 {
    width: 320px;
    height: 320px;
    background: #3b82f6;
    bottom: -140px;
    right: -60px;
}

/* =====================================================
   AVATAR WRAPPER
   ===================================================== */

.profile-avatar-wrapper {
    position: absolute;
    left: 50%;
    bottom: -60px;
    transform: translateX(-50%);
    z-index: 10;
}

/* =====================================================
   AVATAR UPLOADER
   ===================================================== */

.sa-upload-avatar {
    position: relative;
    display: flex;
    justify-content: center;
}

.sa-avatar-upload {
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: .25s;
    display: block;
}

    .sa-avatar-upload:hover {
        transform: scale(1.03);
    }

    .sa-avatar-upload input[type=file] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 5;
    }

/* =====================================================
   AVATAR IMAGE
   ===================================================== */

.sa-avatar-image {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 40px rgba(15,23,42,.25);
}

/* =====================================================
   PLACEHOLDER
   ===================================================== */

.sa-avatar-placeholder {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient( 135deg, #eef2ff, #f8fafc);
    border: 6px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(15,23,42,.25);
}

.sa-avatar-placeholder-icon {
    font-size: 56px;
}

/* =====================================================
   OVERLAY
   ===================================================== */

.sa-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(15,23,42,.45);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .25s;
    font-size: 30px;
    backdrop-filter: blur(2px);
}

.sa-avatar-upload:hover
.sa-avatar-overlay {
    opacity: 1;
}

/* =====================================================
   REMOVE BUTTON
   ===================================================== */

.sa-avatar-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(239,68,68,.25);
    transition: .25s;
}

    .sa-avatar-remove:hover {
        transform: scale(1.08);
    }
