.regulations-link-area {
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-start;
}

.btn-regulations {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-regulations:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.btn-regulations i {
    color: var(--secondary-color);
    font-size: 18px;
}

/* Minor Page Specific Styles */
.minor-container {
    padding: 60px 0 100px;
}

/* Hero Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.header-title-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    background: var(--secondary-color);
    color: white;
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(251, 140, 0, 0.2);
    font-size: 24px;
}

.header-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.header-text p {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.quick-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.quick-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.quick-search-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.quick-search-wrapper input:focus {
    background: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(251, 140, 0, 0.1);
}

/* Alert Box */
.alert-banner {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    padding: 20px 25px;
    border-radius: 20px;
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.alert-banner i {
    color: #0284c7;
    font-size: 20px;
    margin-top: 2px;
}

.alert-content p {
    font-size: 15px;
    color: #0c4a6e;
    line-height: 1.6;
}

.alert-content .highlight {
    font-weight: 800;
    color: #ef4444;
    text-decoration: underline;
    text-decoration-color: #bae6fd;
    text-underline-offset: 4px;
}

.alert-content .deadline {
    font-weight: 700;
    color: #0369a1;
}

/* Search Panel */
.search-panel {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 50px;
}

.panel-header {
    background: #1e293b;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.panel-header i {
    color: var(--secondary-color);
}

.panel-header span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel-body {
    padding: 40px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.input-group label i {
    color: var(--secondary-color);
}

.input-group select {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.input-group select:focus {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(251, 140, 0, 0.1);
}

.input-group select:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.panel-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.btn-query {
    background: var(--secondary-color);
    color: white;
    padding: 14px 40px;
    border-radius: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(251, 140, 0, 0.2);
}

.btn-query:hover {
    transform: translateY(-2px);
    background: #e67e22;
    box-shadow: 0 15px 30px rgba(251, 140, 0, 0.3);
}

.btn-query i {
    transition: transform 0.3s ease;
}

.btn-query:hover i {
    transform: translateX(5px);
}

.btn-query:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #cbd5e1;
    color: #64748b;
    box-shadow: none;
    pointer-events: none;
}

.btn-reset {
    background: #f1f5f9;
    color: #64748b;
    padding: 14px 25px;
    border-radius: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Results Area */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.results-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.results-title .indicator {
    width: 6px;
    height: 24px;
    background: var(--secondary-color);
    border-radius: 10px;
}

.count-badge {
    font-size: 13px;
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 8px;
}

.legend {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.dot.current {
    background: var(--secondary-color);
}

.dot.other {
    background: #fff;
    border: 1px solid #e2e8f0;
}

/* Results Table Card */
.results-card {
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background: #f1f5f9;
    border-bottom: 2px solid #e2e8f0;
}

th {
    padding: 22px 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.05em;
}

th:first-child {
    text-align: left;
    padding-left: 40px;
}

tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: #f8fafc;
}

td {
    padding: 25px 15px;
    text-align: center;
}

td:first-child {
    text-align: left;
    padding-left: 40px;
}

.dept-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.college-label {
    font-size: 12px;
    font-weight: 900;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.dept-name {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    transition: color 0.2s ease;
}

tr:hover .dept-name {
    color: var(--secondary-color);
}

/* PDF Buttons */
.btn-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
}

.btn-pdf:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: #fff;
}

.btn-pdf.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(251, 140, 0, 0.2);
    transform: scale(1.05);
}

.btn-pdf.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #e2e8f0;
    color: #cbd5e1;
    background: #f8fafc;
    box-shadow: none;
    transform: none;
}

.btn-history {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f1f5f9;
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-history:hover {
    background: #1e293b;
    color: white;
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    padding: 100px 0;
    text-align: center;
    display: none;
}

.empty-icon {
    font-size: 60px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.empty-text {
    font-size: 18px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 20px;
}

.extra-links {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 640px) {
    .extra-links {
        grid-template-columns: 1fr;
    }
}

.extra-card {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.extra-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.extra-icon {
    width: 65px;
    height: 65px;
    background: #fff7ed;
    color: var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.extra-card:hover .extra-icon {
    background: var(--secondary-color);
    color: white;
}

.extra-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.extra-info p {
    font-size: 13px;
    color: #64748b;
}

/* Premium Mobile Responsive Design */
@media (max-width: 768px) {
    .minor-container {
        padding: 30px 15px 60px;
    }
    
    .page-header {
        margin-bottom: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-title-area {
        gap: 15px;
    }
    
    .header-icon {
        padding: 12px;
        font-size: 20px;
        border-radius: 14px;
    }
    
    .header-text h1 {
        font-size: 1.5rem;
    }
    
    .alert-banner {
        padding: 18px;
        margin-bottom: 25px;
        border-radius: 16px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .alert-banner i {
        font-size: 20px;
        margin-top: 0;
    }
    
    .alert-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .search-panel {
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    }
    
    .panel-body {
        padding: 25px 20px;
    }
    
    .search-grid {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .input-group select {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .panel-footer {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
    }
    
    .btn-query, .btn-reset {
        width: 100%;
        justify-content: center;
        padding: 13px;
        border-radius: 12px;
        font-size: 14px;
    }
    
    .btn-query:hover i {
        transform: none;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .results-title {
        font-size: 16px;
        gap: 10px;
    }
    
    .results-title .indicator {
        height: 20px;
        width: 5px;
    }
    
    /* Responsive Table to Cards Transformation */
    thead {
        display: none;
    }
    
    table, tbody, tr, td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .results-card {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
    
    tbody tr {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 24px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
        transition: all 0.25s ease;
    }
    
    tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
        border-color: var(--secondary-color);
        background: #fff;
    }
    
    td {
        padding: 0;
        text-align: left;
    }
    
    /* Department Title Section */
    td:first-child {
        padding: 0 0 15px 0;
        border-bottom: 1px dashed #f1f5f9;
        margin-bottom: 15px;
    }
    
    .college-label {
        font-size: 11px;
    }
    
    .dept-name {
        font-size: 16px;
        font-weight: 800;
        color: #0f172a;
    }
    
    /* PDF columns displayed as inline-grid or inline-flex */
    td:not(:first-child) {
        display: inline-block;
        width: calc(50% - 6px); /* 2 per row with small gap */
        margin-bottom: 12px;
        box-sizing: border-box;
    }
    
    td:not(:first-child):nth-child(even) {
        margin-right: 12px;
    }
    
    .btn-pdf {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 10px;
        font-size: 12px;
        justify-content: center;
        border-radius: 10px;
        transform: none !important;
        box-shadow: none !important;
    }
}
