/* ===========================================
   User Profile Card - Premium Styling
   Base color: #282F47
   =========================================== */

.salut-profile-card {
    background: linear-gradient(135deg, var(--card-bg, #ffffff) 0%, #f8f9fb 100%);
    border-radius: 20px;
    border: 1px solid rgba(40, 47, 71, 0.08);
    box-shadow:
        0 1px 3px rgba(40, 47, 71, 0.04),
        0 8px 24px rgba(40, 47, 71, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.salut-profile-card:hover {
    box-shadow:
        0 2px 8px rgba(40, 47, 71, 0.08),
        0 12px 32px rgba(40, 47, 71, 0.1);
    transform: translateY(-2px);
}

/* Header Section */
.salut-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(40, 47, 71, 0.06);
}

/* Avatar */
.salut-profile-avatar {
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--avatar-bg, #282F47) 0%, #3a4460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow:
        0 4px 12px rgba(40, 47, 71, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.salut-profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.salut-profile-avatar-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.salut-profile-avatar-fallback svg {
    width: 50%;
    height: 50%;
}

.salut-profile-avatar-img:not([src=""]) + .salut-profile-avatar-fallback {
    display: none;
}

/* Name */
.salut-profile-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    color: #282F47;
}

/* Logout Button */
.salut-profile-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--btn-bg, #282F47) 0%, #3a4460 100%);
    color: var(--btn-color, #ffffff) !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(40, 47, 71, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.salut-profile-logout-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 4px 12px rgba(40, 47, 71, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.salut-profile-logout-btn:active {
    transform: translateY(0);
}

/* Meta Section */
.salut-profile-meta {
    display: flex;
    gap: 16px;
    padding-top: 24px;
}

.salut-profile-meta-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(40, 47, 71, 0.03);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.salut-profile-meta-item:hover {
    background: rgba(40, 47, 71, 0.05);
}

.salut-profile-meta-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #282F47 0%, #3a4460 100%);
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(40, 47, 71, 0.15);
}

.salut-profile-meta-icon svg {
    width: 20px;
    height: 20px;
}

.salut-profile-meta-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.salut-profile-meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--meta-color, #6b7280);
    opacity: 0.7;
}

.salut-profile-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #282F47;
    word-break: break-word;
}

/* Responsive */
@media (max-width: 480px) {
    .salut-profile-meta {
        flex-direction: column;
    }

    .salut-profile-card {
        border-radius: 16px;
    }

    .salut-profile-name {
        font-size: 20px;
    }
}
