:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --bg-color: #f8f9fa;
    --text-color: #333;
    --card-bg: #fff;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}
#wrapper {
    overflow-x: hidden;
}
#sidebar-wrapper {
    min-height: 100vh;
    width: 250px;
    margin-left: -250px;
    transition: margin 0.25s ease-out;
}
#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}
#sidebar-wrapper .list-group {
    width: 250px;
}
#page-content-wrapper {
    min-width: 100vw;
}
body.toggled #sidebar-wrapper {
    margin-left: 0;
}
.primary-text {
    color: var(--primary-color);
}
.second-text {
    color: var(--secondary-color);
}
.list-group-item.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff !important;
}
.list-group-item:hover {
    color: var(--accent-color) !important;
}
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 8px;
    margin-bottom: 20px;
}
.table-responsive {
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background: #fff;
}
.table th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: var(--primary-color);
}
.form-label {
    font-weight: 500;
    color: var(--secondary-color);
}
@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }
    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
    body.toggled #sidebar-wrapper {
        margin-left: -250px;
    }
}
/* Roll Number Card Styles */
.roll-card-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}
.roll-card-header {
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.roll-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}
.roll-card-body {
    display: flex;
    gap: 30px;
}
.roll-photo-area {
    width: 150px;
    height: 180px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    overflow: hidden;
}
.roll-photo-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.roll-details {
    flex-grow: 1;
}
.roll-details-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 16px;
}
.roll-details-label {
    font-weight: 600;
    width: 160px;
    color: var(--secondary-color);
}
.roll-details-value {
    flex-grow: 1;
    border-bottom: 1px dashed #ccc;
    color: #000;
    font-weight: 500;
}
.roll-number-highlight {
    text-align: center;
    margin: 20px 0;
}
.roll-number-highlight .label {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    letter-spacing: 2px;
}
.roll-number-highlight .value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}
.roll-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 20px;
}
.signature-box {
    text-align: center;
    width: 200px;
}
.signature-line {
    border-top: 1px solid #000;
    margin-top: 40px;
    padding-top: 5px;
    font-size: 14px;
    font-weight: 600;
}
/* Quick action cards */
.quick-action-card {
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.quick-action-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}
