@font-face {
    font-family: 'A Love of Thunder';
    src: url('../fonts/A-Love-of-Thunder.ttf') format('truetype');
}

.login1 {
    background: url('/css/photos/login1.png') no-repeat center center fixed;
    background-size: cover;
}

.login2 {
    background: url('photos/login2.png') no-repeat center center fixed;
    background-size: cover;
}

.login3 {
    background: url('photos/login3.png') no-repeat center center fixed;
    background-size: cover;
}

.login4 {
    background: url('photos/login4.png') no-repeat center center fixed;
    background-size: cover;
}

.login5 {
    background: url('photos/login5.png') no-repeat center center fixed;
    background-size: cover;
}

.login6 {
    background: url('photos/login6.png') no-repeat center center fixed;
    background-size: cover;
}

.login7 {
    background: url('photos/login7.png') no-repeat center center fixed;
    background-size: cover;
}

.login8 {
    background: url('photos/login8.png') no-repeat center center fixed;
    background-size: cover;
}

.login9 {
    background: url('photos/login9.png') no-repeat center center fixed;
    background-size: cover;
}

.login10 {
    background: url('photos/login10.png') no-repeat center center fixed;
    background-size: cover;
}





/* GLOBAL BODY */
body {
    margin: 0;
    padding: 0;
    background-color: #c1172c;
    font-family: 'A Love of Thunder', Arial, sans-serif;
    color: #333;
}

/* UNIVERSAL CONTAINER STYLE */
.container {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
}

/* LOGIN/FORM SPECIFIC CONTAINER OVERRIDE */
.container.form {
    max-width: 420px;
    padding: 40px 30px;
    text-align: left;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

/* HEADINGS */
h1, h2, h3 {
    color: #c1172c;
    margin-top: 0;
    text-align: center;
}

/* PARAGRAPH TEXT */
p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* LABELS */
label {
    display: block;
    margin-bottom: 15px;
    color: #c1172c;
    font-weight: 500;
}

/* INPUTS */
input[type="email"],
input[type="password"],
input,
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #f9f9f9;
    box-sizing: border-box;
    margin: 0.3em 0;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-family: 'A Love of Thunder', Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 12px;
    color: #c1172c;
    cursor: pointer;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e4a924;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, border 0.2s ease;
    position: relative;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #e4a924;
    border-color: #e4a924;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: -2px;
    left: 4px;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* FIELDSET & LEGEND */
.styled-fieldset {
    border: 2px solid #e4a924;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    background-color: #fff;
}

.styled-fieldset legend {
    font-family: 'A Love of Thunder', Arial, sans-serif;
    font-size: 18px;
    color: #c1172c;
    padding: 0 10px;
}

/* CHECKBOX LABELS */
.custom-checkbox {
    display: flex;
    align-items: center;
    font-family: 'A Love of Thunder', Arial, sans-serif;
    font-size: 16px;
    color: #c1172c;
    margin-bottom: 12px;
    cursor: pointer;
    gap: 10px;
}

/* TEXTBOX LABELS */
.custom-textbox {
    display: block;
    margin-top: 10px;
    color: #c1172c;
    font-family: 'A Love of Thunder', Arial, sans-serif;
}

/* STYLED CHECKBOX */
.custom-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e4a924;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #e4a924;
    border-color: #e4a924;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: -2px;
    left: 4px;
    font-size: 14px;
    color: white;
    font-weight: bold;
}


/* BUTTONS & LINKS STYLED AS BUTTONS */
button,
.btn,
.role-btn,
.dashboard-links .btn {
    background-color: #e4a924;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
    width: auto;
}

button:hover,
.btn:hover,
.role-btn:hover,
.dashboard-links .btn:hover {
    background-color: #c1901f;
}

/* DASHBOARD BUTTON WRAPPER */
.dashboard-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* TOGGLE SWITCH */
.toggle-active {
    width: 40px;
    height: 20px;
    position: relative;
    appearance: none;
    background: #c6c6c6;
    outline: none;
    border-radius: 20px;
    transition: background 0.3s;
    cursor: pointer;
}

.toggle-active:checked {
    background: #7ED957;
}

.toggle-active::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: 1px;
    left: 1px;
    background: white;
    transition: 0.3s;
}

.toggle-active:checked::before {
    left: 21px;
}

/* TABLES */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background: #f0f0f0;
}

/* ERROR MESSAGES */
.error {
    background: #ffe0e0;
    color: #a94442;
    padding: 12px;
    margin-bottom: 20px;
    border-left: 5px solid #a94442;
    border-radius: 5px;
}

/* CARD COMPONENT */
.card {
    background: white;
    padding: 1em;
    margin-top: 1em;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* STANDARD LINKS */
a {
    color: #e4a924;
    text-decoration: none;
}

a:hover {
    color: #c1901f;
    text-decoration: underline;
}

/* LINKS IN FOOTER/EXTRA SECTIONS */
.links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.links a {
    color: #e4a924;
}

.links a:hover {
    color: #c1901f;
}

/* RESPONSIVENESS */
@media (max-width: 500px) {
    .dashboard-links {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }
}
