
/* Minimalist Clean Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 50%, #f0fff4 100%) !important;
    color: #1a1a1a;
    line-height: 1.6;
    letter-spacing: -0.01em;
    min-height: 100vh;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.text-secondary {
    color: #666666 !important;
}

.text-muted {
    color: #666666 !important;
}

small {
    font-size: 0.95rem;
    color: #666666;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.2);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: white !important;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

/* Cards */
.card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.card-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    border-bottom: 1px solid rgba(102, 126, 234, 0.15) !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.card-body {
    padding: 2.5rem;
}

.card-footer {
    background: #ffffff !important;
    border-top: 1px solid #e5e5e5 !important;
    border-radius: 0 0 12px 12px !important;
    padding: 1.5rem 2.5rem;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e879f9 0%, #f43f5e 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #e5e5e5;
}

.btn-outline-primary:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-light {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e5e5e5;
}

.btn-light:hover {
    background: #f5f5f5;
    color: #1a1a1a;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Forms */
.form-control {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    outline: none;
}

.form-select {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1a1a1a;
}

.form-label {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-check-input {
    accent-color: #667eea;
}

/* Tables */
.table {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    table-layout: fixed;
    width: 100%;
}

.table thead th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.15);
    font-weight: 600;
    color: #1a1a1a;
    padding: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table tbody td {
    border-bottom: 1px solid rgba(102, 126, 234, 0.05);
    padding: 1rem;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
    transition: background-color 0.2s ease;
}

/* Alerts */
.alert {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #10b981;
    color: #065f46;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
    border: 1px solid #ef4444;
    color: #991b1b;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    border: 1px solid #f59e0b;
    color: #92400e;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
    border: 1px solid #3b82f6;
    color: #1e40af;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* Badges */
.badge {
    background: #f5f5f5;
    color: #1a1a1a;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Modals */
.modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(102, 126, 234, 0.25);
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid #e5e5e5;
    padding: 1.5rem 2rem;
}

/* Progress */
.progress {
    background: #f5f5f5;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: #1a1a1a;
    transition: width 0.3s ease;
}

/* Utilities */
.bg-light {
    background: #f8f9fa !important;
}

.bg-white {
    background: #ffffff !important;
}

.border {
    border: 1px solid #e5e5e5 !important;
}

.border-radius {
    border-radius: 12px;
}

.shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.col,
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    padding: 1rem;
    flex: 1;
}

/* Dashboard Specific Styles */
.hero-dashboard {
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.dashboard-main-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.2s ease;
    text-align: left;
}

.dashboard-main-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.dashboard-main-card .card-icon {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-main-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.dashboard-main-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.features-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 3rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Section spacing */
section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-main-card {
        padding: 1.5rem;
    }
    
    .features-section {
        padding: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-header,
    .card-footer {
        padding: 1rem 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
    }
}

/* Remove all Bootstrap color overrides */
.btn-success, .btn-info, .btn-warning, .btn-danger,
.text-success, .text-info, .text-warning, .text-danger,
.bg-success, .bg-info, .bg-warning, .bg-danger,
.bg-primary, .bg-secondary {
    all: unset;
}

/* Override any remaining Bootstrap styles */
.btn-success { background: #1a1a1a; color: #ffffff; }
.btn-info { background: #1a1a1a; color: #ffffff; }
.btn-warning { background: #1a1a1a; color: #ffffff; }
.btn-danger { background: #1a1a1a; color: #ffffff; }

/* Clean focus states */
*:focus {
    outline: 2px solid rgba(26, 26, 26, 0.2);
    outline-offset: 2px;
}

button:focus, .btn:focus {
    outline: 2px solid rgba(26, 26, 26, 0.2);
    outline-offset: 2px;
}
