﻿body {
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 50px;
}

/* Employ Florida URL link */
.form-group {
    margin-bottom: 15px;
}

.form-group-flex {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    .form-group-flex .radio-group {
        flex-grow: 1;
        padding-left: 40px;
    }

.link-to-employfl {
    margin-left: 0;
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    padding-right: 20px;
}

    .link-to-employfl span {
        margin-left: 0;
        text-decoration: none;
        color: #007bff;
        font-size: 16px;
        cursor: not-allowed;
        display: inline-block;
        padding: 5px;
        border-radius: 3px;
    }

        .link-to-employfl span:hover {
            background-color: #e0e0e0;
        }

.logoImage {
    margin-bottom: 20px;
}

.language-selection {
    text-align: right;
    top: 0;
    right: 150px;
}

/* Radio buttons in horizontal layout */
.radiobuttonlist-horizontal input[type="radio"] {
    width: 36px;
    height: 36px;
    margin-right: 15px;
    margin-left: 25px;
}

/* Section boxes */
.section-box {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

    .section-box.auth {
        background-color: #e8f4fa;
        border: 2px solid #ddd;
        padding: 20px;
        margin-top: 20px;
        border-radius: 5px;
    }

        .section-box.auth h3 {
            color: #0056b3;
        }

        .section-box.auth input[type="text"],
        .section-box.auth input[type="date"] {
            border-color: #ccc;
            background-color: #fff;
        }

        .section-box.auth p {
            font-size: 16px;
            color: #666;
        }

/* CheckBox group */
.checkbox-group {
    margin-top: 10px;
}

    .checkbox-group .form-check {
        margin-bottom: 10px;
        display: block;
    }

        .checkbox-group .form-check input[type="checkbox"] {
            margin-right: 10px;
        }

/* Education level button-group */
.radio-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}

    .radio-button-group input[type="radio"] {
        display: none;
    }

    .radio-button-group label {
        background-color: #f0f0f0;
        padding: 10px 20px;
        font-size: 16px;
        border: 1px solid #ccc;
        margin-right: 10px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: background-color 0.3s;
        flex-basis: calc(33.333% - 10px);
        border-radius: 5px;
    }

        .radio-button-group label:hover,
        .radio-button-group input[type="radio"]:checked + label {
            background-color: #007bff;
            color: white;
            transform: translateY(2px);
        }

        .radio-button-group label:last-child {
            margin-right: 0;
        }

/* General radio button styling */
input[type="radio"] {
    height: 36px;
    width: 36px;
    margin: 20px;
}

/* Checkbox grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

    .checkbox-grid div {
        display: flex;
        align-items: center;
    }

    .checkbox-grid input[type="checkbox"] {
        display: none;
    }

    .checkbox-grid div span,
    .checkbox-grid div label {
        background-color: #f0f0f0;
        padding: 10px 20px;
        font-size: 16px;
        border: 1px solid #ccc;
        margin-right: 0;
        margin-bottom: 0;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
        display: block;
        text-align: left;
        width: 100%;
        border-radius: 5px;
    }

        .checkbox-grid div span:hover,
        .checkbox-grid div label:hover,
        .checkbox-grid input[type="checkbox"]:checked + span,
        .checkbox-grid input[type="checkbox"]:checked + label {
            background-color: #007bff;
            color: white;
            transform: translateY(2px);
        }

.other-textbox {
    margin-left: 0px;
    width: 100%;
}

/* Submit Button */
.submit-button {
    width: 100%;
    margin: auto;
    text-align: center;
    margin-top: 20px;
}

#SubmitButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    outline: none;
    margin: auto;
}

    #SubmitButton:hover,
    #SubmitButton:focus {
        transform: translateY(4px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    #SubmitButton:active {
        transform: translateY(2px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }

.footer {
    text-align: center;
    color: #777;
    font-size: 12px;
    padding: 10px;
    margin-top: 20px;
    border-top: 1px solid #EEEEEE;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #ccc;
    width: 45%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 10px;
    transition: opacity 0.3s ease-out;
    opacity: 0.95;
    text-align: center;
}

    .modal-content h2 {
        color: #333;
        font-size: 24px;
    }

    .modal-content p {
        color: #555;
        font-size: 36px;
        line-height: 1.6;
    }

button.btn-secondary {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 36px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

    button.btn-secondary:hover {
        background-color: #0056b3;
        transform: translateY(3px);
    }

h2 {
    text-align: center;
    word-wrap: break-word;
    margin: 0 auto;
    width: 100%;
    display: inline-block;
}

.landing-title {
    text-align: center;
    font-size: 2rem;                /* Larger, impactful font */
    font-weight: 600;               /* Semi-bold for emphasis */
    color: #0D76BD;                 /* PMS 2935 Blue from brand */
    margin: 20px 0 40px;            /* Balanced spacing */
    letter-spacing: 1px;            /* Subtle letter spacing */
    text-transform: uppercase;      /* Professional, consistent caps */
    border-bottom: 3px solid #F26122; /* PMS Bright Orange underline */
    display: inline-block;          /* Makes underline fit the text */
    padding-bottom: 8px;            /* Space between text and underline */
    position:relative; 
    top:-75px;
}

/* Card grid for event cards */
/*.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}*/
/* START ===== Landing grid: up to 3 columns, wrap as needed ===== */
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* up to 3 across */
    gap: 20px;
    align-items: stretch;
}

/* 2 columns on medium screens */
@media (max-width: 1024px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 column on small screens */
@media (max-width: 640px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}
/* END ===== Landing grid: up to 3 columns, wrap as needed ===== */

/*.event-card {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #fff;
    text-align: center;
}

    .event-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 6px;
    }

    .event-card h3 {
        font-size: 1.15rem;
        line-height: 1.25;
        margin: 10px 0 6px;
    }

    .event-card p {
        color: #444;
        font-size: .95rem;
        margin: 4px 0;
    }*/

    .event-card strong {
        color: #222;
    }

    .event-card .card-selection {
        display: inline-block;
        margin-top: 10px;
    }

    .event-card.disabled {
        opacity: .5;
        filter: grayscale(100%);
    }

    .event-card a {
        text-decoration: none;
        color: inherit;
    }

/* START ===== Card look (simple, consistent) ===== */
.event-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

    .event-card img {
        width: 100%;
        /*height: 150px;*/
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 10px;
    }

    .event-card h3 {
        font-size: 20px;
        margin: 8px 0 6px;
        line-height: 1.25;
    }

    .event-card p {
        margin: 4px 0;
    }
/* END ===== Card look (simple, consistent) ===== */


/* General button styling */
button,
input[type="button"],
input[type="submit"] {
    font-size: 16px;
    padding: 12px 15px;
    border-radius: 5px;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 10px 10px 10px 0;
    transform: scale(2.0);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .section-box {
        padding: 10px;
    }

    .form-group,
    .form-group row {
        margin-bottom: 10px;
    }

        .form-group label,
        .form-group row label {
            width: 100%;
            margin-bottom: 5px;
        }

    .radiobuttonlist-horizontal {
        flex-direction: row;
    }

        .radiobuttonlist-horizontal input[type="radio"] {
            width: 36px;
            height: 36px;
        }
}

@media (max-width: 480px) {
    body {
        padding: 0 10px;
    }

    .container {
        width: 100%;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .section-box {
        padding: 15px;
    }

        .section-box.auth input[type="text"],
        .section-box.auth input[type="date"] {
            width: 100%;
            margin-bottom: 10px;
        }

    .checkbox-grid,
    .radio-button-group {
        grid-template-columns: 1fr;
    }

        .radio-button-group label,
        .checkbox-grid div span,
        .checkbox-grid div label {
            width: 100%;
        }

    #SubmitButton {
        width: 100%;
        padding: 15px 0;
    }

    .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    .language-selection {
        position: static;
        text-align: center;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 1080px) and (max-height: 2340px), only screen and (min-device-pixel-ratio: 3) and (max-width: 480px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logoImage {
        margin-bottom: 10px;
        width: 100%;
        max-width: 200px;
    }

    .language-selection {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .radiobuttonlist-horizontal {
        display: inline-flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }
}
