/* style.css - Custom styles for DSUD Payments */


/* General link styles */

a {
    color: #0d6efd;
    text-decoration: none;
}


/* Body background for all pages except index */

body {
    background-image: url('../images/dash.png') !important;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}


/* Body background for index page only (index-_pic.jpeg) */

body.index-bg {
    background: url('../images/bg.webp') no-repeat center center fixed !important;
    background-size: cover !important;
}

@media (max-width: 768px) {
    body,
    body.index-bg {
        background-size: auto 100vh;
    }
}


/* Transparent header and footer for index page */

.navbar,
footer.footer {
    background: transparent !important;
    box-shadow: none !important;
}


/* White text for About Us, Contact Us, and index info */

.index-content,
.index-content h3,
.index-content h4,
.index-content p,
.index-content label,
.index-content textarea,
.index-content .about-toggle,
.index-content .contact-toggle {
    color: #fff !important;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}


/* About/Contact toggles */

.about-toggle,
.contact-toggle {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.2rem;
}

#about-content,
#contact-content {
    color: #fff !important;
    font-size: 1.05rem;
}


/* Card and login form styles */

.card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
}


/* Index page flex layout */

.index-flex {
    display: flex;
    min-height: 80vh;
    align-items: center;
}

.index-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.index-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.index-login-card {
    min-width: 340px;
    max-width: 400px;
}

@media (max-width: 767px) {
    .index-flex {
        display: block;
    }
    .index-left,
    .index-right {
        width: 100%;
    }
    .index-login-card {
        margin: 0 auto;
    }
}


/* Logo and welcome text for index page */

.index-logo {
    max-width: 260px;
    border-radius: 45%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.index-welcome {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}


/* Table and button styles (all pages) */

.table thead th {
    background: #0d6efd;
    color: #fff;
}

.table tbody tr.unpaid {
    background: #fff3cd;
}

.btn-primary,
.btn-success,
.btn-danger {
    min-width: 90px;
}

.navbar-brand {
    font-weight: bold;
}


/* Remove default container background for index */

.container.my-5 {
    background: transparent !important;
}


/* Header (navbar) styles for all pages except index */

body:not(.index-bg) {
    background: url('../images/dash.png') no-repeat center center fixed !important;
    background-size: cover !important;
    color: #222;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}


/* Remove header color for all except index */

body:not(.index-bg) .navbar {
    background: transparent !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body:not(.index-bg) .navbar .navbar-brand,
body:not(.index-bg) .navbar .nav-link {
    color: #fff !important;
    transition: color 0.2s, border 0.2s;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
}

body:not(.index-bg) .navbar .nav-link.active,
body:not(.index-bg) .navbar .nav-link:focus {
    color: #dc3545 !important;
    border-bottom: 2px solid #dc3545 !important;
}

body:not(.index-bg) .navbar .nav-link:hover {
    color: #ffc107 !important;
    border-bottom: 2px solid #ffc107 !important;
    text-decoration: none !important;
}


/* About Us and Contact Us text always white */

body:not(.index-bg) .about-toggle,
body:not(.index-bg) .contact-toggle,
body:not(.index-bg) #about-content,
body:not(.index-bg) #contact-content,
body:not(.index-bg) h3.about-toggle,
body:not(.index-bg) h3.contact-toggle {
    color: #fff !important;
}


/* FUTURISTIC FORM STYLES */

.futuristic-form {
    background: rgba(255, 255, 255, 0.281);
    box-shadow: 0 8px 32px 0 rgba(27, 36, 153, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    padding: 2.5rem 2rem;
    color: #fff;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.futuristic-form h4,
.futuristic-form label {
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 8px blue, 0 0 2px #fff;
}

.futuristic-form .form-control {
    background: rgba(255, 255, 255, 0.123);
    border: 1.5px solid #00eaff;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 8px #00eaff33;
    transition: border 0.3s, box-shadow 0.3s;
}

.futuristic-form .form-control:focus {
    border: 1.5px solid #fff;
    box-shadow: 0 0 16px #00eaff99;
    background: rgba(0, 234, 255, 0.08);
    color: #fff;
}

.futuristic-form .btn-primary {
    background: linear-gradient(90deg, #00eaff 0%, #0051ff 100%);
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 0 16px #00eaff99;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    letter-spacing: 1px;
}

.futuristic-form .btn-primary:hover,
.futuristic-form .btn-primary:focus {
    background: linear-gradient(90deg, #0051ff 0%, #00eaff 100%);
    box-shadow: 0 0 32px #00eaffcc;
    transform: translateY(-2px) scale(1.03);
}

.futuristic-form a {
    color: #0f0283cb;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: 0 0 4px #ffffff;
    transition: color 0.2s;
}

.futuristic-form a:hover {
    color: #fff;
    text-shadow: 0 0 8px #00eaff5b;
}

.futuristic-form .alert {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1.5px solid #000000;
    box-shadow: 0 0 8px #ffffff55;
}


/* Orbitron font for futuristic look */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

/* Responsive tweaks */

@media (max-width: 600px) {
    .futuristic-form {
        padding: 1.2rem 0.5rem;
    }
}


/* Add a cool hover color for the Print button */

.btn-print:hover {
    background-color: #ff0000 !important;
    color: #fff !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 8px #dbf210;
}


/* Admin footer styles */

.admin-footer {
    background: #23272b;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 1.1rem;
    border-top: 2px solid #343a40;
}

.admin-footer a,
.admin-footer a:visited {
    color: #ffc107;
    text-decoration: underline;
}

.admin-footer a:hover {
    color: #fff;
    text-decoration: none;
}