﻿html {
  font-size: 14px;
  
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  
 
}

body {
  margin-bottom: 60px;  
  
}
/* ===== College Alert Banner ===== */
.college-alert {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #ff66b2, #cc33ff);
    color: white;
    overflow: hidden;
    border-bottom: 3px solid #00264d;
    font-family: 'Times New Roman', serif;
    font-size: 17px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 8px 0;
    z-index: 500;
    margin-top: 0;
}

/* Scrolling text */
.alert-content {
    display: inline-block;
    white-space: nowrap;
    animation: moveLeft 20s linear infinite;
    padding-left: 100%;
    cursor: pointer;
}

/* Smooth right-to-left animation */
@keyframes moveLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause scroll on hover */
.college-alert:hover .alert-content {
    animation-play-state: paused;
}

/* Register link styling */
.register-link {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: bold;
    background: rgba(255,255,255,0.8);
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

    .register-link:hover {
        background: #ffeb3b;
        color: #003366;
    }

/* ===== Responsive Adjustments ===== */

/* Tablets */
@media (max-width: 568px) {
    .college-alert {
        font-size: 15px;
        padding: 6px 0;
    }

    .alert-content {
        animation-duration: 30s;
    }
}

/* Phones */
@media (max-width: 576px) {
    .college-alert {
        font-size: 14px;
        padding: 5px 0;
        text-align: center;
    }

    .alert-content {
        display: block;
        white-space: normal; /* stop scrolling on very small screens */
        animation: none;
        padding: 0 10px;
    }

    .register-link {
        display: inline-block;
        margin-top: 5px;
        font-size: 14px;
    }
}


@media print {
    body * {
        visibility: hidden;
    }

    #printableArea, #printableArea * {
        visibility: visible;
    }

    #printableArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        /*  padding: 20mm; Adjust for A4 margins */
        box-sizing: border-box;
    }

    @page {
        size: A4;
              /*margin: 20mm;*/
    }

    #printButton {
        display: none;
    }
}

 