/* ============================================================================
   BASE STYLES FOR LOGIN MASTER PAGE - TAS TRAVEL
   ============================================================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #f5f5f5;
    color: #1f2937;
}

/* Form Full Height */
form {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Wrapper - Full Height Layout */
#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - Hidden for Login Page */
.header {
    display: none;
    /* Header is hidden on login page for clean design */
}

/* Content Area - Takes Full Height */
#wrapper > div:not(.header):not(.footer) {
    flex: 1;
}

/* Footer - Sticky at Bottom */
.footer {
    background: #0b1f4d;
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.footer a {
    color: #ff9a3c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #ff7a18;
    text-decoration: underline;
}

/* ContentPlaceHolder Styling */
#ContentPlaceHolder1,
#ContentPlaceHolder2 {
    width: 100%;
}

/* Ensure login page takes full height */
#ContentPlaceHolder1 > .login-page {
    min-height: calc(100vh - 50px); /* Account for footer */
}

/* Telerik Controls Base Styling */
.RadScriptManager {
    display: none;
}

/* Remove default Telerik margins */
.RadAjaxPanel {
    margin: 0;
    padding: 0;
}

/* Responsive Footer */
@media (max-width: 576px) {
    .footer {
        font-size: 11px;
        padding: 12px 15px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        background: white;
        color: black;
        border-top: 1px solid #000;
    }
}
