/**
 * NCHub - Professional FiveM QBCore Servers
 * Access Files Page Styles
 */

/* Access Hero Section */
.access-hero {
    padding: 140px 0 60px;
    background: linear-gradient(140deg, #f5f7ff 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.access-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI5MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3MS41NzQlIiB5MT0iMjcuODE3JSIgeDI9IjEwMCUiIHkyPSIxMDAlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzQzNTNGRiIgc3RvcC1vcGFjaXR5PSIuMDUiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDY3LCA4MywgMjU1LCAwKSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTAgMGgxNDQwdjkwMEgwVjB6IiBmaWxsPSJ1cmwoI2EpIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii4zIi8+PC9zdmc+');
    background-size: cover;
    opacity: 0.7;
    z-index: 0;
}

.access-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.access-badge {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    background-color: rgba(67, 83, 255, 0.1);
    padding: 5px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.access-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.access-subtitle {
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto 15px;
}

/* Access Content Section */
.access-content {
    padding: 80px 0;
    background: white;
    min-height: 500px;
}

/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-icon {
    width: 80px;
    height: 80px;
    background: rgba(114, 137, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: #7289DA;
}

.login-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.login-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #7289DA;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(114, 137, 218, 0.3);
    gap: 10px;
}

.discord-login-btn:hover {
    background: #5e78d5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(114, 137, 218, 0.4);
}

.login-notice {
    margin-top: 30px;
    padding: 15px;
    background: rgba(67, 83, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.login-notice i {
    color: var(--primary);
    margin-top: 2px;
}

.login-notice p {
    margin: 0;
    font-size: 14px;
    text-align: left;
}

/* User Dashboard */
.user-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}

.user-info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-details h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px;
}

.user-id {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
}

.user-roles {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.role-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.role-badge.patreon {
    background: rgba(249, 104, 84, 0.1);
    color: #F96854;
}

.role-badge.v2 {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.role-badge.v3 {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: rgba(255, 0, 0, 0.05);
    color: #e74c3c;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateX(-3px);
}

/* Updates Section - Clean & Working */
.updates-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    border-radius: 12px;
    border: 2px solid rgba(67, 83, 255, 0.15);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(67, 83, 255, 0.1);
}

.updates-header {
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(67, 83, 255, 0.1);
    padding-bottom: 15px;
}

.updates-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.updates-title i {
    background: linear-gradient(135deg, #4353ff 0%, #667eea 100%);
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
}

.updates-count {
    margin-left: auto;
    background: rgba(67, 83, 255, 0.1);
    color: #4353ff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.version-updates {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.version-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.update-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background: #fafbff;
    border-radius: 8px;
    border: 1px solid rgba(67, 83, 255, 0.08);
    transition: all 0.3s ease;
}

.update-item:last-child {
    margin-bottom: 0;
}

.update-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 83, 255, 0.15);
    border-color: rgba(67, 83, 255, 0.2);
}

.update-info {
    flex: 1;
}

.update-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.update-description {
    margin-top: 8px;
    background: rgba(67, 83, 255, 0.05);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    color: #555;
    line-height: 1.4;
    border-left: 3px solid rgba(67, 83, 255, 0.2);
    position: relative;
    max-width: 60%;
    word-wrap: break-word;
    white-space: normal;
    display: block;
}

.update-description::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #4353ff;
    border-radius: 50%;
    opacity: 0.6;
}

.update-description.empty {
    display: none;
}

/* Hover effect */
.update-item:hover .update-description {
    background: rgba(67, 83, 255, 0.08);
    border-left-color: rgba(67, 83, 255, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .update-description {
        max-width: 100%;
        margin-bottom: 10px;
    }
}

.new-badge {
    background: linear-gradient(135deg, #4353ff 0%, #667eea 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(67, 83, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.new-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4353ff 0%, #667eea 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(67, 83, 255, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, #3444ff 0%, #5a6eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 83, 255, 0.4);
    color: white;
}

/* Mobile Updates */
@media (max-width: 768px) {
    .updates-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .updates-title {
        font-size: 16px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .updates-count {
        margin-left: 0;
    }
    
    .update-item {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .update-info {
        text-align: center;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Forms Section */
.forms-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.form-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.version-card {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.version-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(67, 83, 255, 0.1);
}

.version-card.upgrade {
    background: linear-gradient(135deg, #f8f9ff, #eef2ff);
    border-color: rgba(67, 83, 255, 0.2);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.version-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.version-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(46, 204, 113, 0.1);
    color: #333037cc;
}

.version-badge.upgrade {
    background: rgba(67, 83, 255, 0.1);
    color: var(--primary);
}

.version-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.select-version-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.select-version-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 83, 255, 0.3);
}

/* Form Container */
.form-container {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 35px;
    margin-top: 20px;
    border: 1px solid rgba(67, 83, 255, 0.1);
}

#formTitle {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.form-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.question-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
    margin-right: 8px;
}

.form-group textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 83, 255, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.form-actions button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Status */
.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-status.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.form-status.loading {
    background: rgba(67, 83, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(67, 83, 255, 0.2);
}

/* No Access Card */
.no-access-card {
    background: white;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.no-access-icon {
    width: 80px;
    height: 80px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: #e74c3c;
}

.no-access-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.no-access-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.no-access-card .btn-primary {
    margin-top: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .access-hero {
        padding: 120px 0 40px;
    }
    
    .access-title {
        font-size: 2rem;
    }
    
    .login-card {
        padding: 30px;
    }
    
    .user-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-details {
        text-align: center;
    }
    
    .user-roles {
        justify-content: center;
    }
    
    .forms-section {
        padding: 25px;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .updates-notification .updates-header {
        padding: 15px 20px;
    }
    
    .updates-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 12px;
    }
    
    .updates-info h3 {
        font-size: 16px;
    }
    
    .updates-info p {
        font-size: 13px;
    }
    
    .version-group {
        padding: 15px 20px;
    }
    
    .update-item {
        padding: 12px;
    }
    
    .update-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .download-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Accent text styling */
.accent-text {
    color: var(--primary);
    position: relative;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(67, 83, 255, 0.1);
    border-radius: 2px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.breadcrumb-item {
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.breadcrumb-item:hover:not(.active) {
    color: var(--primary);
}

.breadcrumb-separator {
    color: #999;
    margin: 0 5px;
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

.version-card.approved {
    background: linear-gradient(135deg, #f0fff4, #e8f5e9);
    border: 2px solid #2ecc71;
}

.response-id {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    margin: 5px 0;
}

.no-access-message {
    text-align: center;
    padding: 40px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.no-access-message i {
    font-size: 48px;
    color: #999;
    margin-bottom: 20px;
}

.no-access-message h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-access-message p {
    color: #666;
    margin-bottom: 20px;
}

/* Pending form status */
.version-card.pending {
    background: linear-gradient(135deg, #fff9f0, #ffeed9);
    border: 2px solid #ff9800;
}

.version-card.pending .version-badge {
    background: #ff9800;
    color: white;
}

/* Pending response ID style */
.version-card.pending .response-id,
.version-card.approved .response-id {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    margin: 5px 0;
}

/* Custom Visit Shop Button */
.visit-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #9dd9aa 0%, #729775 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 83, 255, 0.2);
    margin-top: 20px;
}

.visit-shop-btn:hover {
    background: linear-gradient(135deg, #729775 0%, #9dd9aa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 151, 117, 0.3);
    color: white;
}

.visit-shop-btn i {
    font-size: 18px;
}

/* For the no-access-message container */
.no-access-message .visit-shop-btn {
    margin-top: 25px;
}

/* Alternative modern style - if you prefer */
.visit-shop-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #4353ff;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px -10px rgba(67, 83, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.visit-shop-btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.visit-shop-btn-modern:hover::before {
    left: 100%;
}

.visit-shop-btn-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px -10px rgba(67, 83, 255, 0.6);
}

/* No Roles Badge */
.role-badge.no-roles {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.role-badge.discord-link {
    background: rgba(114, 137, 218, 0.1);
    color: #7289DA;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.role-badge.discord-link:hover {
    background: rgba(114, 137, 218, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(114, 137, 218, 0.2);
}

.role-badge.shop-link {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.role-badge.shop-link:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.role-badge i {
    margin-right: 4px;
    font-size: 11px;
}

.role-badge.member {
    background: rgba(153, 170, 181, 0.1);
    color: #607D8B;
}

/* Last Updated Style */
.last-updated {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    margin: 8px 0 12px 0;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    width: fit-content;
}

.last-updated i {
    font-size: 11px;
    color: #4353ff;
    opacity: 0.7;
}

/* Animation on hover */
.version-card:hover .last-updated i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Different style for pending/approved cards */
.version-card.pending .last-updated,
.version-card.approved .last-updated {
    background: rgba(0, 0, 0, 0.05);
}

/* Welcome Message Card */
.welcome-message-card {
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(67, 83, 255, 0.1);
}

.welcome-message-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.welcome-message-card p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* System Status Bar */
.system-status-bar {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

/* Pulsing animation */
.status-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    color: #2ecc71;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.status-info i {
    color: #f39c12;
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .welcome-message-card h2 {
        font-size: 20px;
    }
    
    .system-status-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Live Stats Integration - Compact & Modern */
.live-stats-integration {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}

.stat-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(248, 249, 255, 0.4);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 83, 255, 0.05);
}

.stat-compact:hover {
    background: rgba(67, 83, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 83, 255, 0.1);
}

.stat-compact-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4353ff 0%, #667eea 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.stat-compact-icon.success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.stat-compact-icon.info {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.stat-compact-content {
    flex: 1;
    min-width: 0;
}

.stat-compact-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.1;
}

.stat-compact-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stats-live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    margin-top: 5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.live-text {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading states */
.stat-compact.loading .stat-compact-number {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    color: transparent;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-compact {
        padding: 15px;
    }
    
    .stat-compact-number {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .live-stats-integration {
        margin: 0 -5px 25px;
        border-radius: 8px;
    }
}