/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    color: #2c3e50;
}

h2 {
    font-size: 1.75rem;
    color: #34495e;
}

h3 {
    font-size: 1.5rem;
    color: #7f8c8d;
}

h4 {
    font-size: 1.25rem;
    color: #95a5a6;
}

Accepted {
    color: #27ae60;
    font-weight: 600;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, #ad0f0e 0%, #d1024b 100%);
    box-shadow: 0 4px 20px rgba(173, 15, 14, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 2rem;
}

.nav-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-button {
    background-color: white;
    color: #ad0f0e;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f3f5;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: #ad0f0e;
    box-shadow: 0 0 0 3px rgba(173, 15, 14, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ad0f0e 0%, #d1024b 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(173, 15, 14, 0.3);
}

.btn-block {
    width: 100%;
}

/* ===== RESULTS DISPLAY ===== */
.results-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.results-grid {
    display: grid;
    gap: 1.5rem;
}

.result-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.result-header {
    background: #f8f9fa;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.school-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.result-body {
    padding: 1.5rem;
}

.result-footer {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

/* ===== COURSE LIST ===== */
.course-list {
    list-style: none;
    padding: 0;
}

.course-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.course-item:last-child {
    border-bottom: none;
}

.course-item:hover {
    background-color: #f8f9fa;
}

.course-info {
    display: grid;
    gap: 0.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #6c757d;
}

/* ===== JOB INFO ===== */
.job-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #27ae60;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: #e9ecef;
    color: #495057;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large screens (Desktop) */
@media (min-width: 1200px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium screens (Tablet) */
@media (max-width: 1199px) and (min-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

/* Small screens (Mobile) */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 0;
    }
    
    .nav-logo {
        margin: 0 auto 1rem;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        padding: 1rem;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-top: 0.5rem;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
    
    .card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .results-grid {
        gap: 1rem;
    }
    
    .result-header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .school-logo {
        width: 70px;
        height: 70px;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 0.5rem;
        margin: 1rem auto;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .nav-logo img {
        height: 35px;
    }
    
    .card {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 8px;
    }
    
    .results-summary {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .form-control {
        padding: 0.75rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .btn,
    .nav-button {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}


/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 20px;
}

.professional-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(173, 15, 14, 0.3);
        box-shadow: 0 0 20px rgba(173, 15, 14, 0.1);
    }
    50% {
        border-color: rgba(209, 2, 75, 0.6);
        box-shadow: 0 0 30px rgba(209, 2, 75, 0.2);
    }
}

@keyframes pulseBorder {
    0%, 100% {
        border-image: linear-gradient(135deg, #ad0f0e, #d1024b) 1;
    }
    50% {
        border-image: linear-gradient(135deg, #27ae60, #2ecc71) 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.border-pulse {
    animation: pulseBorder 3s infinite alternate;
}

/* ===== CONTAINERS ===== */
.container {
    margin-bottom: 30px;
}

/* Border Glow Container */
.border-glow {
    position: relative;
    padding: 4px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ad0f0e, #d1024b, #27ae60, #3498db);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-border {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Dashed Border Container */
.dashed-container {
    background: white;
    border: 3px dashed #ad0f0e;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(173, 15, 14, 0.1);
    position: relative;
    overflow: hidden;
}

.dashed-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(173, 15, 14, 0.05), transparent);
    animation: gradientShift 6s linear infinite;
}

/* Double Border Container */
.double-border {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.double-border::before,
.double-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    z-index: -1;
}

.double-border::before {
    background: linear-gradient(135deg, #ad0f0e, #d1024b);
}

.double-border::after {
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: white;
}

/* ===== TYPOGRAPHY ===== */
.text-gradient {
    background: linear-gradient(135deg, #ad0f0e, #d1024b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.8rem;
    color: #34495e;
}

h4 {
    font-size: 1.4rem;
    color: #7f8c8d;
}

.card-header h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.card-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ad0f0e, #d1024b);
    border-radius: 2px;
}

/* ===== GRID LAYOUTS ===== */
.grid-border-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.grid-item-border {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-item-border:hover {
    transform: translateY(-5px);
    border-color: #ad0f0e;
    box-shadow: 0 10px 25px rgba(173, 15, 14, 0.15);
}

.grid-item-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(173, 15, 14, 0.1), transparent);
    transition: left 0.5s ease;
}

.grid-item-border:hover::before {
    left: 100%;
}

/* ===== STAT CARDS ===== */
.stat-value-border {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ad0f0e, #d1024b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card-border {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-border:hover {
    border-color: #ad0f0e;
    box-shadow: 0 5px 15px rgba(173, 15, 14, 0.1);
}

/* ===== BADGES ===== */
.badge-rounded {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.3s ease;
}

.badge-primary-rounded {
    background: linear-gradient(135deg, #ad0f0e, #d1024b);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
}

.badge-success-rounded {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 8px 16px;
}

/* ===== SEPARATORS ===== */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 2px dashed #e9ecef;
}

.separator span {
    padding: 0 20px;
    color: #7f8c8d;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FORMS ===== */
.input-border {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-border:focus {
    outline: none;
    border-color: #ad0f0e;
    background: white;
    box-shadow: 0 0 0 3px rgba(173, 15, 14, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-border::placeholder {
    color: #adb5bd;
}

/* ===== BUTTONS ===== */
.btn-border {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background: linear-gradient(135deg, #ad0f0e, #d1024b);
    color: white;
    box-shadow: 0 5px 15px rgba(173, 15, 14, 0.3);
}

.btn-border:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(173, 15, 14, 0.4);
    color: white;
}

.btn-border:active {
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ===== TABLES ===== */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #ad0f0e, #d1024b) border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.table-gradient-border {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.table-gradient-border thead {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.table-gradient-border th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.table-gradient-border th:last-child {
    border-right: none;
}

.table-gradient-border tbody tr {
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
}

.table-gradient-border tbody tr:hover {
    background: linear-gradient(135deg, rgba(173, 15, 14, 0.03), rgba(209, 2, 75, 0.03));
}

.table-gradient-border td {
    padding: 18px 15px;
    vertical-align: middle;
    border-right: 1px solid #f1f3f5;
}

.table-gradient-border td:last-child {
    border-right: none;
}

/* ===== LINKS ===== */
.course-link {
    color: #2c3e50;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.course-link:hover {
    color: #ad0f0e;
    transform: translateX(5px);
}

.course-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.course-link:hover::before {
    opacity: 1;
    left: -15px;
}

.school-link {
    color: #3498db;
    transition: all 0.3s ease;
}

.school-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.text-decoration-none {
    text-decoration: none;
}

/* ===== INFO BOXES ===== */
.info-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-left: 4px solid #3498db;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box ul {
    list-style: none;
    padding-left: 20px;
}

.info-box li {
    padding: 8px 0;
    position: relative;
}

.info-box li::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: #27ae60;
    font-weight: bold;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large screens (Desktop) */
@media (min-width: 1200px) {
    .professional-wrapper {
        padding: 20px;
    }
    
    .grid-border-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Medium screens (Tablet) */
@media (max-width: 1199px) and (min-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        margin-bottom: 25px;
    }
    
    .card-border {
        padding: 25px;
    }
    
    .grid-border-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-value-border {
        font-size: 2rem;
    }
}

/* Small screens (Mobile) */
@media (max-width: 767px) {
    body {
        padding: 10px;
        background: #f8f9fa;
    }
    
    html {
        font-size: 14px;
    }
    
    .professional-wrapper {
        padding: 10px;
    }
    
    .container {
        margin-bottom: 20px;
    }
    
    .border-glow,
    .dashed-container,
    .double-border {
        padding: 2px;
        border-radius: 12px;
    }
    
    .card-border {
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    .grid-border-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .grid-item-border {
        padding: 15px;
    }
    
    .stat-value-border {
        font-size: 1.8rem;
    }
    
    .table-container {
        margin: 0 -10px;
        border-radius: 0;
        border: none;
        border-top: 2px solid #ad0f0e;
        border-bottom: 2px solid #ad0f0e;
    }
    
    .table-gradient-border th,
    .table-gradient-border td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .btn-border {
        padding: 12px 20px;
        width: 100%;
        margin: 5px 0;
    }
    
    .badge-primary-rounded {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .input-border {
        padding: 12px 15px;
    }
    
    .separator span {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .card-border {
        padding: 15px 10px;
    }
    
    .stat-value-border {
        font-size: 1.6rem;
    }
    
    .badge-primary-rounded {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .btn-border {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .table-gradient-border th,
    .table-gradient-border td {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    
    .grid-item-border {
        padding: 12px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white !important;
        padding: 0 !important;
    }
    
    .border-glow,
    .dashed-container,
    .double-border {
        border: 2px solid #ddd !important;
        box-shadow: none !important;
        animation: none !important;
    }
    
    .card-border {
        box-shadow: none !important;
    }
    
    .btn-border,
    .course-link::before,
    .grid-item-border::before {
        display: none !important;
    }
    
    .text-gradient {
        color: #ad0f0e !important;
        -webkit-text-fill-color: #ad0f0e !important;
    }
    
    .stat-value-border {
        color: #ad0f0e !important;
        -webkit-text-fill-color: #ad0f0e !important;
    }
    
    .table-container {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        color: #e0e0e0;
    }
    
    .card-border,
    .dashed-container,
    .double-border::after,
    .grid-item-border,
    .stat-card-border,
    .info-box {
        background: linear-gradient(135deg, #2d3748, #4a5568);
        color: #e0e0e0;
    }
    
    .input-border {
        background: linear-gradient(135deg, #2d3748, #4a5568);
        border-color: #4a5568;
        color: #e0e0e0;
    }
    
    .table-gradient-border tbody tr {
        border-bottom-color: #4a5568;
    }
    
    .table-gradient-border td {
        border-right-color: #4a5568;
        color: #e0e0e0;
    }
    
    .badge-rounded {
        background: linear-gradient(135deg, #4a5568, #2d3748);
        color: #e0e0e0;
    }
    
    .stat-label {
        color: #b0b0b0;
    }
}