/* Modern Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - More Vibrant */
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --dark-blue: #1e40af;
    --light-blue: #60a5fa;
    --accent-blue: #0ea5e9;
    
    --purple: #8b5cf6;
    --light-purple: #a78bfa;
    --dark-purple: #7c3aed;
    
    --green: #10b981;
    --light-green: #34d399;
    --dark-green: #059669;
    
    --orange: #f59e0b;
    --light-orange: #fbbf24;
    --dark-orange: #d97706;
    
    --red: #ef4444;
    --light-red: #f87171;
    --dark-red: #dc2626;
    
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 20px 40px -10px rgba(37, 99, 235, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Decorative Elements */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.5);
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.header-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 16px;
}

.header-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.header-search input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.header-search input::placeholder {
    color: var(--gray-400);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    position: relative;
    background: var(--gray-100);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--gray-600);
    font-size: 18px;
}

.btn-icon:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid var(--white);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 6px;
    background: var(--gray-100);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.2;
}

.user-role {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.2;
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 32px;
    min-height: 700px;
    animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view {
    display: none;
}

.view.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    flex-shrink: 0;
}

.gradient-purple {
    background: linear-gradient(135deg, var(--purple), var(--dark-purple));
    box-shadow: 0 8px 20px -6px rgba(139, 92, 246, 0.4);
}

.gradient-green {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.4);
}

.gradient-orange {
    background: linear-gradient(135deg, var(--orange), var(--dark-orange));
    box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.4);
}

.gradient-red {
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    box-shadow: 0 8px 20px -6px rgba(239, 68, 68, 0.4);
}

.gradient-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.4);
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}

.stat-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.stat-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
}

.stat-change.neutral {
    background: rgba(107, 114, 128, 0.1);
    color: var(--gray-600);
}

/* View Header */
.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.view-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--gray-600);
    font-size: 15px;
    margin-top: 4px;
}

.view-actions {
    display: flex;
    gap: 12px;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.company-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 28px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-radius: 0 20px 0 100%;
    opacity: 0.15;
    transition: var(--transition);
}

.company-card:hover .card-bg {
    opacity: 0.25;
    transform: scale(1.2);
}

.company-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.8);
}

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.company-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-blue);
    transition: var(--transition);
}

.company-card:hover .company-icon {
    transform: rotate(-10deg) scale(1.1);
    color: var(--purple);
}

.company-menu {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--gray-400);
    transition: var(--transition);
}

.company-menu:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.company-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.company-description {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.company-stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

.stat-item i {
    color: var(--gray-400);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.completion-rate {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-action-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.company-action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.company-action-btn:hover::before {
    opacity: 1;
}

.company-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.company-action-btn.edit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.company-action-btn.delete-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.company-action-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-arrow {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.company-card:hover .card-arrow {
    transform: translateX(4px);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

/* Back Button */
.btn-back {
    background: var(--white);
    border: 2px solid var(--gray-200);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
    margin-bottom: 24px;
}

.btn-back:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

/* Projects View Header */
.view-header-extended {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.header-title-section {
    flex: 1;
    min-width: 200px;
}

.header-title-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

.breadcrumb i {
    font-size: 10px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* When grid has only empty state, center it */
.projects-grid:has(.empty-projects-state) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--purple));
    transform: scaleY(0);
    transition: var(--transition);
}

.project-card:hover::before {
    transform: scaleY(1);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.8);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.project-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    line-height: 1.3;
}

.project-date {
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.project-date i {
    font-size: 11px;
}

.project-url {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--primary-blue);
    text-decoration: none;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.project-url:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--primary-blue);
    transform: translateX(2px);
}

.project-url i {
    font-size: 10px;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(249, 250, 251, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: var(--transition);
}

.detail-row:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 251, 0.9));
    border-color: rgba(255, 255, 255, 0.8);
}

.detail-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label i {
    color: var(--gray-400);
    font-size: 14px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 12px;
    flex: 1;
}

.footer-info i {
    color: var(--gray-400);
    font-size: 14px;
}

.footer-text {
    font-weight: 500;
}

.project-test-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.4);
    font-size: 14px;
}

.project-test-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.5);
}

.project-test-btn:active {
    transform: translateY(0) scale(0.95);
}

.project-test-btn.testing {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    pointer-events: none;
}

.project-test-btn.test-success {
    background: var(--green);
    animation: successPulse 0.6s ease-out;
}

.project-test-btn.test-error {
    background: var(--red);
    animation: errorShake 0.5s ease-out;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.status-badge {
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.status-badge.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.inactive {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.1));
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.1));
    color: var(--orange);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.unknown {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.1));
    color: var(--gray-600);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.status-badge i {
    font-size: 8px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(12px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
    z-index: 1;
    font-size: 18px;
}

.modal-close:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    padding: 48px 32px 32px;
    text-align: center;
    color: var(--white);
    border-radius: 26px 26px 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.modal-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.modal-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.modal-header h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
}

.modal-subtitle {
    font-size: 14px;
    opacity: 0.9;
    position: relative;
}

.modal-body {
    padding: 32px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(249, 250, 251, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.8);
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.detail-value.status-active {
    color: var(--green);
}

.detail-value.status-inactive {
    color: var(--red);
}

.detail-value.status-warning {
    color: var(--orange);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-modal-primary, .btn-modal-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-modal-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.5);
}

.btn-modal-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-modal-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-modal-danger {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    color: var(--white);
    box-shadow: 0 8px 16px -4px rgba(239, 68, 68, 0.4);
}

.btn-modal-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(239, 68, 68, 0.5);
}

/* Projects List Section */
.projects-list-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    overflow-x: auto;
    min-width: 0;
}

.projects-list-header {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.3fr 0.7fr 0.7fr 0.8fr 1fr 0.6fr;
    gap: 6px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    min-width: 750px;
}

.projects-list-body {
    max-height: 600px;
    overflow-y: auto;
}

.project-list-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.3fr 0.7fr 0.7fr 0.8fr 1fr 0.6fr;
    gap: 6px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    align-items: center;
    animation: slideInRow 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    min-width: 750px;
}

@keyframes slideInRow {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-list-row:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(14, 165, 233, 0.05));
    border-left: 4px solid var(--primary-blue);
    padding-left: 20px;
}

.project-list-row:last-child {
    border-bottom: none;
}

.list-col {
    font-size: 14px;
    color: var(--gray-700);
}

.col-project {
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-list-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.3);
}

.project-name-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-name-main {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.project-name-sub {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
}

.col-company {
    font-weight: 500;
}

.col-link {
    font-size: 12px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1));
    color: var(--primary-blue);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-link:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.2));
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px -2px rgba(37, 99, 235, 0.3);
}

.project-link i {
    font-size: 10px;
    flex-shrink: 0;
}

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--purple);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.company-badge i {
    font-size: 10px;
}

/* Empty Projects State */
.empty-projects-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 60vh;
    width: 100%;
    animation: fadeIn 0.6s ease;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.empty-state-icon i {
    font-size: 48px;
    color: var(--blue);
    opacity: 0.8;
}

.empty-projects-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.empty-projects-state p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.add-project-here-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.add-project-here-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.add-project-here-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.add-project-here-btn:hover::before {
    opacity: 1;
}

.add-project-here-btn:active {
    transform: translateY(0);
}

.add-project-here-btn i {
    color: #ffffff !important;
}

.col-value {
    font-weight: 500;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}

.col-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.btn-action {
    width: 24px;
    height: 24px;
    border: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
    font-size: 10px;
}

.btn-action:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.4);
}

.btn-action.btn-view {
    color: var(--primary-blue);
}

.btn-action.btn-test {
    color: var(--green);
}

.btn-action:hover.btn-view {
    background: var(--primary-blue);
}

.btn-action:hover.btn-test {
    background: var(--green);
}

.btn-action.testing {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    pointer-events: none;
}

.btn-action.test-success {
    background: var(--green);
    color: var(--white);
    animation: successPulse 0.6s ease-out;
}

.btn-action.test-error {
    background: var(--red);
    color: var(--white);
    animation: errorShake 0.5s ease-out;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.empty-state {
    padding: 60px 24px;
    text-align: center;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--gray-400);
}

.empty-state p {
    font-size: 16px;
    font-weight: 500;
}

/* Filter Dropdown */
.filter-dropdown {
    position: relative;
}

.filter-select {
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 200px;
}

.filter-select:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Form Modal */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.form-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    padding: 32px 24px 24px;
    text-align: center;
    color: var(--white);
    border-radius: 26px 26px 0 0;
    position: relative;
    overflow: hidden;
}

.form-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
}

.form-modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
    animation: pulse 2s infinite;
}

.form-modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    position: relative;
}

.form-modal-body {
    padding: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    color: var(--gray-700);
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.form-actions button {
    flex: 1;
}

/* Test Notification */
.test-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    width: 380px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.test-notification.show {
    right: 24px;
}

.test-notification.hiding {
    opacity: 0;
    transform: translateX(420px);
}

.test-notification.success {
    border-left: 4px solid var(--green);
}

.test-notification.error {
    border-left: 4px solid var(--red);
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.test-notification.success .notification-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--green);
}

.test-notification.error .notification-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    color: var(--red);
}

.notification-content {
    flex: 1;
}

.notification-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.notification-content p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

.notification-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-500);
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--red);
    color: var(--white);
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 16px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-search {
        order: 3;
        flex: 1 1 100%;
    }
}

/* Automated testing status styles */
.status-active {
    color: #10b981 !important;
    font-weight: 600;
}

.status-inactive {
    color: #ef4444 !important;
    font-weight: 600;
}

.btn-modal-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.btn-modal-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .user-info {
        display: none;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .view-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-modal-primary, .btn-modal-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .projects-list-header {
        display: none;
    }
    
    .project-list-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .list-col {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .list-col:last-child {
        border-bottom: none;
    }
    
    .list-col::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gray-600);
        font-size: 12px;
        text-transform: uppercase;
    }
    
    .col-project {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .col-project::before {
        display: none;
    }
    
    .col-actions {
        justify-content: flex-start;
    }
    
    .test-notification {
        width: calc(100% - 32px);
        right: -100%;
        top: 80px;
    }
    
    .test-notification.show {
        right: 16px;
    }
    
    .filter-select {
        min-width: auto;
        width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--purple));
    border-radius: 10px;
    border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-blue), var(--light-purple));
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}
