/* Futuristic Digital Theme for Assessment System */


:root {
    --primary-color: #3a86ff;
    --primary-light: #00b4d8;
    --primary-dark: #4361ee;
    --secondary-color: #00b4d8;
    --success-color: #06d6a0;
    --danger-color: #ef476f;
    --warning-color: #ffd166;
    --info-color: #90e0ef;
    --dark-color: #1e293b;
    --light-color: #f8f9fa;
    --gray-color: #94a3b8;
    --gray-dark-color: #334155;
    --gray-light-color: #e2e8f0;
    --body-bg: #f0f5ff;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --card-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 0.75rem;
    --transition-speed: 0.3s;
}


/* Base Styles */
body {
    font-family: var(--font-family);
    background-color: var(--body-bg);
    color: var(--dark-color);
    line-height: 1.6;
    background-image: linear-gradient(135deg, rgba(240, 245, 255, 0.8) 0%, rgba(230, 240, 255, 0.8) 100%);
    background-attachment: fixed;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
    z-index: 1;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transform: scale(0);
    transition: transform var(--transition-speed) ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    transform: scale(1);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    overflow: hidden;
    background-color: var(--card-bg);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.card:hover .card-title::after {
    width: 100%;
}

.card-body {
    padding: 1.75rem;
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #04aa80);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #04aa80, var(--success-color));
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #d90429);
    border: none;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), var(--secondary-color));
    border: none;
    color: var(--dark-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--gray-light-color);
    transition: all var(--transition-speed) ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
    background-color: white;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-dark-color);
    letter-spacing: 0.3px;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 30px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-color), #04aa80) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--danger-color), #d90429) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #ffc43d) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--info-color), var(--secondary-color)) !important;
    color: var(--dark-color);
}

.badge.bg-secondary {
    background: linear-gradient(135deg, var(--gray-color), var(--gray-dark-color)) !important;
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.table th {
    font-weight: 600;
    color: var(--gray-dark-color);
    background-color: rgba(0, 0, 0, 0.02);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table th, .table td {
    padding: 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-light-color);
}

.table-hover tbody tr {
    transition: background-color var(--transition-speed) ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    position: relative;
}

.breadcrumb-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
}

.breadcrumb-item a:hover::after {
    width: 100%;
}

.breadcrumb-item.active {
    color: var(--gray-dark-color);
    font-weight: 500;
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.alert-success {
    background-color: rgba(6, 214, 160, 0.1);
    color: #0a8c6a;
}

.alert-success::before {
    background-color: var(--success-color);
}

.alert-danger {
    background-color: rgba(239, 71, 111, 0.1);
    color: #be123c;
}

.alert-danger::before {
    background-color: var(--danger-color);
}

.alert-info {
    background-color: rgba(144, 224, 239, 0.1);
    color: #0e7490;
}

.alert-info::before {
    background-color: var(--info-color);
}

.alert-warning {
    background-color: rgba(255, 209, 102, 0.1);
    color: #b45309;
}

.alert-warning::before {
    background-color: var(--warning-color);
}

/* Modals */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.modal-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.modal-body {
    padding: 1.75rem;
}

.modal-footer {
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

/* Custom Classes */
.chapter-number {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 0.5rem;
    position: relative;
    display: inline-block;
}

.chapter-number::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.question-count-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.question-count-control:hover {
    background-color: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.question-count-control label {
    min-width: 180px;
    margin-bottom: 0;
    font-weight: 500;
}

.question-count-control input {
    max-width: 100px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-light-color);
    padding: 0.5rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.question-count-control input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

.paper-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.paper-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.paper-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light-color);
    position: relative;
}

.paper-section h3 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.paper-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.paper-section:hover h3::after {
    width: 100%;
}

.question {
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    border-left: 3px solid transparent;
}

.question:hover {
    background-color: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    border-left-color: var(--primary-color);
}

.question-number {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 0.5rem;
    display: inline-block;
    min-width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
}

.question-marks {
    font-weight: 500;
    color: var(--gray-color);
    margin-left: 0.5rem;
    padding: 0.2rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card, .alert, .paper-container, .question {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.5rem 1.25rem;
    }
    
    .table th, .table td {
        padding: 1rem;
    }
    
    .question-count-control {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .question-count-control input {
        max-width: 100%;
    }
    
    .paper-container {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }
    
    .navbar, .breadcrumb, .btn, .card-footer {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .paper-container {
        box-shadow: none;
        padding: 0;
    }
} 
.sheikh{
    background-color:green;
}