﻿body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
}

.login-panel {
    background-color: #1e1e1e;
    padding: 30px;
    margin: 100px auto;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 0 10px #333;
    text-align: center;
}

.input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #0078D4;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
}

.btn {
    background-color: #0078d7;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn:hover {
        background-color: #005a9e;
    }

.input[type="checkbox"]:checked {
    accent-color: #0078D4; /* NHS Blue or your brand color */
}
/* Base table styling */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
}

    /* Header row */
    table th {
        background-color: #0078D4; /* NHS Blue or your brand color */
        color: white;
        padding: 8px;
        text-align: left;
        border-bottom: 2px solid #ccc;
    }

    /* Regular rows */
    table td {
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    /* Alternate row background */
    table tr:nth-child(even) {
        background-color: #444;
    }

    table tr:nth-child(odd) {
        background-color: #333;
    }

    /* Optional: hover effect */
    table tr:hover {
        background-color: #0078D4;
    }
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px 40px;
    margin-top: 20px;
    align-items: start;
}

    .form-grid div {
        display: flex;
        flex-direction: column;
    }

    .form-grid label {
        font-weight: bold;
        margin-bottom: 4px;
    }

    .form-grid input,
    .form-grid select {
        padding: 6px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
.success-message {
    color: floralwhite;
    font-weight: bold;
}
.container {
        margin: 20px;
}
.welcome {
    float: right;
   }
.username {
    font-weight: Bold;
    color: #0078D4;
    text-transform: capitalize;
    float:right 

}

/* Uniform width for form fields */
:root { --form-field-width: 320px; }

.form-table .form-control,
.form-grid input,
.form-grid select,
.form-grid textarea {
    width: var(--form-field-width);
    max-width: 100%;
    box-sizing: border-box;
    height: 30px;
}

/* Optional: keep full width on small screens */
@media (max-width: 600px) {
    .form-table .form-control,
    .form-grid input,
    .form-grid select,
    .form-grid textarea {
        width: 100%;
    }
}

/* Styled GridView pager to match .btn */
.gv-pager {
    padding-top: 12px;
    text-align: left; /* align with table */
}

.gv-pager a,
.gv-pager span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    background-color: #0078d7; /* match .btn */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    line-height: 1.4;
}

.gv-pager a:hover {
    background-color: #005a9e; /* match .btn:hover */
}

.gv-pager span {
    background-color: #005a9e; /* current page */
    cursor: default;
    font-weight: 600;
}

.gv-pager a:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Space out rows and buttons in Manage Job Codes grid */
.grid-jobcodes { margin-top: 6px; }
.grid-jobcodes tr { vertical-align: middle; }
.grid-jobcodes td { padding-top: 5px; padding-bottom: 5px; } /* taller rows */
.grid-jobcodes .btn-grid { display: inline-block; margin: 1px 0; } /* avoid touching elements above */

/* --- Mobile overrides for SubmitEntry --- */ .btn-block-mobile {
    display: block;
    width: 100%;
}
/* Force one column and full-width fields on small screens */ @media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

        .form-grid input,
        .form-grid select,
        .form-grid textarea {
            width: 100% !important; /* override --form-field-width */
            font-size: 16px; /* avoid iOS zoom */
            height: 44px; /* finger-friendly */
        }

    .btn {
        width: 100%;
        min-height: 44px;
    }
}