/* ==========================================
   KUSOYA AI - PROFILE PAGE STYLES
   ========================================== */

/* Profile Container */
#profileContainer {
    background: #f8f9fa;
    min-height: calc(100vh - 60px);
    padding: 2rem;
}

.container {
    max-width: 900px;
}

/* Profile Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Profile Header Card */
.profile-header-card .card-body {
    background: var(--kusoya-blue);
    color: white;
    padding: 3rem 2rem;
}

/* Large Avatar */
.profile-avatar-large {
    width: 100px;
    height: 100px;
    background: var(--kusoya-orange);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Profile Name & Role */
.profile-user-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.profile-user-role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-bottom: 1rem;
}

/* Status Badge */
.profile-status-badge {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
}

.profile-status-badge.bg-success {
    background-color: #10b981;
}

.profile-status-badge i {
    font-size: 0.625rem;
}

/* Card Headers */
.card-header.bg-kusoya-blue {
    background-color: var(--kusoya-blue);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.card-header h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.card-header i {
    font-size: 1.125rem;
}

/* Card Body */
.card-body {
    padding: 1.5rem;
}

/* Profile Information Items */
.profile-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.profile-info-item:hover {
    background: #f8f9fa;
}

/* Icon Container */
.profile-info-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.125rem;
}

.profile-info-icon.bg-kusoya-blue {
    background-color: var(--kusoya-blue);
}

/* Label and Value */
.profile-info-label {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.profile-info-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
}

/* Buttons */
.btn-outline-kusoya-blue,
.btn-kusoya-orange {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.btn i {
    font-size: 1rem;
}

/* Grid Spacing */
.row.g-4 > .col-md-6 {
    margin-bottom: 0;
}

/* Top Bar */
.ai-topbar .chat-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.ai-topbar .btn-outline-kusoya-blue {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Card Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: slideInUp 0.4s ease-out;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }

/* Mobile Responsive */
@media (max-width: 768px) {
    #profileContainer {
        padding: 1rem;
    }

    .profile-header-card .card-body {
        padding: 2rem 1.5rem;
    }

    .profile-avatar-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .profile-user-name {
        font-size: 1.5rem;
    }

    .profile-user-role {
        font-size: 0.9375rem;
    }

    .card-body {
        padding: 1rem;
    }

    .profile-info-value {
        font-size: 0.875rem;
    }

    .btn-outline-kusoya-blue,
    .btn-kusoya-orange {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    #profileContainer {
        padding: 1.5rem;
    }
}

/* Loading State */
#profileContainer.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* END OF PROFILE PAGE STYLES */