/* =========================================================
   TVICO Meeting Change Request Form
   ========================================================= */

/* Main form container */
.tvico-request-form {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
}

/* Headings */
.tvico-request-form h2,
.tvico-request-form h3 {
    font-style: italic;
}


/* =========================================================
   Progress Indicator
   ========================================================= */

.tvico-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 34px;
    border-bottom: 1px solid #888;
}

.tvico-progress span {
    position: relative;
    width: 36px;
    height: 36px;
    transform: translateY(18px);

    border-radius: 50%;
    background: #777;
    color: #fff;

    line-height: 36px;
    text-align: center;
}

.tvico-progress span.active,
.tvico-progress span.done {
    background: #2D6F97;
}

.tvico-progress small {
    position: absolute;
    top: -34px;
    left: 50%;
    display: block;

    transform: translateX(-50%);

    color: #555;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
}


/* =========================================================
   Form Steps
   ========================================================= */

.tvico-step {
    display: none;
}

.tvico-step.active {
    display: block;
}


/* =========================================================
   Labels and Field Groups
   ========================================================= */

.tvico-request-form label {
    display: block;
    margin: 18px 0 6px;
    font-weight: 600;
}

.tvico-request-form label label,
.tvico-request-form fieldset label {
    margin: 10px 0;
    font-weight: 600;
}

.tvico-request-form fieldset {
    margin: 22px 0;
    padding: 0;
    border: 0;
}

.tvico-request-form legend {
    font-weight: 700;
}

/* =========================================================
   Inputs, Selects, and Textareas
   ========================================================= */

.tvico-request-form input[type="text"],
.tvico-request-form input[type="email"],
.tvico-request-form input[type="tel"],
.tvico-request-form input[type="url"],
.tvico-request-form input[type="time"],
.tvico-request-form input[type="date"],
.tvico-request-form input:not([type]),
.tvico-request-form select,
.tvico-request-form textarea {

    width: 100%;
    padding: 11px 12px;

    border: 1px solid #aaa;
    background: #fff;

    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #000;
}


/* =========================================================
   Grid Layout
   ========================================================= */

.tvico-grid {
    display: grid;
    gap: 26px;
}

.tvico-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* =========================================================
   Warnings and Help Text
   ========================================================= */

.tvico-warning {
    color: #d00;
    font-weight: 700;
}

.help {
    color: #555;
}


/* =========================================================
   Navigation Buttons
   ========================================================= */

.tvico-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
}

.tvico-buttons button {
    padding: 12px 28px;

    border: 0;
    border-radius: 4px;
    background: #2D6F97;
    color: #fff;

    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.tvico-next,
.tvico-submit {
    margin-left: auto;
}


/* =========================================================
   Summary, Review, and Meeting Lists
   ========================================================= */

.tvico-meeting-summary,
.tvico-review,
.tvico-same-name-list {
    margin: 20px 0;
    padding: 16px;

    border-left: 4px solid #2D6F97;
    background: #f6f7f8;
}


/* =========================================================
   Editable Sections
   ========================================================= */

.tvico-edit-section {
    margin-top: 24px;
    padding-top: 8px;
    border-top: 1px solid #ccc;
}


/* =========================================================
   Meeting Types
   ========================================================= */

.tvico-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 8px;
}

.tvico-types label {
    margin: 0;
    font-weight: 400;
}


/* =========================================================
   Form Messages
   ========================================================= */

.tvico-form-message {
    margin-bottom: 18px;
    padding: 12px;

    border-left: 4px solid #d98200;
    background: #fff4e5;
}


/* =========================================================
   Review Table
   ========================================================= */

.tvico-review table {
    width: 100%;
    border-collapse: collapse;
}

.tvico-review th,
.tvico-review td {
    padding: 8px;

    border-bottom: 1px solid #ddd;

    text-align: left;
    vertical-align: top;
}

.tvico-review .remove {
    color: #a00;
    font-style: italic;
}


/* =========================================================
   Checkboxes & Radio Buttons
   ========================================================= */

/* Make all checkboxes and radio buttons 50% larger */
.tvico-request-form input[type="checkbox"],
.tvico-request-form input[type="radio"] {
    transform: scale(1.5);
    transform-origin: left center;
    margin-right: 10px;
    accent-color: #2D6F97;
    cursor: pointer;
}

/* Checkbox labels */
.tvico-types label,
.check label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Radio button labels */
.tvico-request-form input[type="radio"] + label,
.tvico-request-form label:has(input[type="radio"]) {
    cursor: pointer;
}

/* =========================================================
   Mobile Layout
   ========================================================= */

@media (max-width: 650px) {
    .tvico-grid.two {
        grid-template-columns: 1fr;
    }

    .tvico-progress small {
        display: none;
    }
}