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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: aliceblue;
    min-height: 100vh;
}

/* Header Section */
.header-section {
    background-color:white;
    color: rgb(0, 0, 0);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    color: #d8363d;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-in-out;
}

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

/* Form Section */
.form-section {
    padding: 40px 0 80px;
}

.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 0;
    overflow: hidden;
    animation: slideIn 0.6s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-header {
    background-color:#d8363d;
    color: white;
    padding: 30px;
    text-align: center;
}

.form-header h3 {
    margin: 0;
    font-size: 24px;
}

form {
    padding: 20px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background-color:#d8363d ;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    background-color:#d7454d ;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Footer Section */
.footer-section {
    background-color:#d8363d;
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

/* Login Page Styles */
.login-body {
    background-color:aliceblue;
    min-height: 100vh;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.6s ease-in-out;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Admin Dashboard Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.stats-card-primary .stats-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stats-card-success .stats-icon {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stats-card-info .stats-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stats-info h3 {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.stats-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 20px;
}

.table {
    margin: 0;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #333;
    font-size: 18px !important;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    font-size: 18px !important;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Detail View Styles */
.detail-item {
    margin-bottom: 20px;
}

.detail-item label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.detail-item p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 30px;
    }

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

    form {
        padding: 30px 20px;
    }

    .form-header {
        padding: 20px;
    }

    .form-header h3 {
        font-size: 20px;
    }

    .stats-card {
        flex-direction: column;
        text-align: center;
    }

    .table-responsive {
        font-size: 12px;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .footer-section {
        display: none !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        background: white;
    }
}

/* Alert Styles */
.alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
    animation: slideDown 0.4s ease-in-out;
}

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

/* Badge Styles */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 20px;
}

/* Button Group Styles */
.btn-group .btn {
    border-radius: 8px;
}

.btn-group .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Loading Animation */
.spinner-border {
    width: 20px;
    height: 20px;
    border-width: 2px;
}
