html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

body {
    font-family: "Times New Roman";
    font-size: 14px;
    margin: 20px;
}

.header {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.form-no {
    text-align: right;
    font-weight: bold;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 6px;
    vertical-align: top;
}

/* PRINT RULES */
@media print {
    button {
        display: none;
    }

    body {
        margin: 0;
    }
}
/* ===== FIX FOR CREATE PAGE BUTTON NOT CLICKABLE ===== */

.ver-create-page {
    position: relative;
    z-index: 10;
}

    .ver-create-page form {
        position: relative;
        z-index: 11;
    }

.ver-submit-btn {
    position: relative;
    z-index: 12;
    pointer-events: auto !important;
    cursor: pointer;
}

/* Disable any global overlay */
body::before,
body::after {
    pointer-events: none;
}
/* ===== GLOBAL ===== */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f9;
    color: #212529;
}

/* ===== HEADER ===== */
.main-header {
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 0.4px;
}

.nav-link {
    font-weight: 500;
    margin-left: 15px;
    transition: opacity 0.2s ease;
}

    .nav-link:hover {
        opacity: 0.85;
    }

/* ===== CONTENT ===== */
.content-wrapper {
    min-height: calc(100vh - 130px);
    padding: 30px 0;
}

/* Card-style default for pages */
.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ===== FOOTER ===== */
.main-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #6c757d;
}

    .main-footer a {
        color: #0d6efd;
        text-decoration: none;
    }

        .main-footer a:hover {
            text-decoration: underline;
        }
/* Email sending overlay */
#emailLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-box {
    text-align: center;
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
