* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar - Orange Theme */
.navbar {
    background: #f97316;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    flex-wrap: wrap;
}

.logo h2 {
    color: white;
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s;
    font-size: 14px;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Buttons - Orange Theme */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.btn-primary {
    background: #f97316;
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: #f97316;
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Login Page - Mobile Friendly */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #f97316;
    margin-bottom: 10px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f97316;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #fff3e0;
    color: #f97316;
    border: 1px solid #ffe0b3;
}

/* Cards - Mobile Friendly */
.auth-card,
.form-card,
.welcome-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Quick Actions - Mobile Grid */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.action-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #f97316;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.2);
}

.action-card h3 {
    color: #f97316;
    margin: 10px 0;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #f97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 2;
    background: white;
    flex-shrink: 0;
}

.timeline-icon.completed {
    background: #f97316;
    border-color: #f97316;
    color: white;
}

.timeline-icon.current {
    background: #f97316;
    border-color: #f97316;
    color: white;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.3);
}

.timeline-icon.pending {
    background: white;
    border-color: #ddd;
    color: #999;
}

.timeline-content {
    flex: 1;
    margin-left: 15px;
    padding-bottom: 20px;
}

.timeline-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.timeline-content .status {
    font-size: 12px;
    color: #666;
}

.timeline-content .date {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

.timeline-item:not(:last-child) .timeline-content {
    border-left: 2px solid #e0e0e0;
    padding-left: 20px;
    margin-left: 0;
}

.timeline-item:not(:last-child) {
    margin-bottom: 0;
}

/* Connecting line */
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: calc(100% - 30px);
    background: #e0e0e0;
    z-index: 1;
}

.timeline-item.completed:not(:last-child)::before {
    background: #f97316;
}

/* Tables - Mobile Responsive */
.table-responsive {
    overflow-x: auto;
    margin: 15px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #fff5eb;
    font-weight: 600;
    color: #f97316;
}

.data-table tr:hover {
    background: #fffaf5;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fff3e0;
    color: #f97316;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-processing {
    background: #e3f2fd;
    color: #1976d2;
}

/* Landing Page */
.landing-page {
    background: white;
    min-height: 100vh;
}

.hero {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    border-color: white;
    color: white;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: #f97316;
}

.features {
    padding: 50px 20px;
    text-align: center;
}

.features h2 {
    margin-bottom: 30px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #f97316;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 12px;
}

/* AdSense Space */
.adsense-space {
    margin: 30px 0;
    text-align: center;
}

.ad-container {
    background: #f8f9fa;
    border: 1px dashed #ddd;
    padding: 20px;
    text-align: center;
    color: #999;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .timeline-item:not(:last-child)::before {
        left: 19px;
    }
    
    .timeline-content h3 {
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .login-card {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 14px;
        padding: 10px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .adsense-space,
    footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        padding: 0;
        margin: 0;
    }
    
    .timeline-icon {
        border-color: #f97316;
    }
}

/* Circulars & Info Page */
.circular-item {
    margin-bottom: 25px;
    padding: 15px;
    background: #fffaf5;
    border-radius: 12px;
    border-left: 4px solid #f97316;
}

.circular-item h3 {
    color: #f97316;
    margin-bottom: 10px;
    font-size: 16px;
}

.eligibility-result {
    margin-top: 20px;
    padding: 20px;
    background: #fff5eb;
    border-radius: 15px;
}

.info-table {
    width: 100%;
    margin-top: 15px;
}

.info-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.info-table td:first-child {
    font-weight: 500;
    width: 40%;
}

/* Login Tabs */
.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #f97316;
    border-bottom: 2px solid #f97316;
    margin-bottom: -2px;
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #ffe0b3;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #f97316;
    margin-top: 8px;
}

/* Progress Bar */
.progress-container {
    margin: 20px 0;
}

.progress-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.step {
    text-align: center;
    flex: 1;
    font-size: 11px;
    color: #999;
}

.step.active {
    color: #f97316;
    font-weight: 500;
}

.step.completed {
    color: #22c55e;
}