/* ==================== GENERAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== BODY STYLES ==================== */
body {
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    /*font-family: montserrat, sans-serif;*/
    /*font-size: 20px;*/
    text-align: justify;
    text-justify: inter-word;
    background-color: rgb(231, 237, 231);
}

/* ==================== FORM STYLES ==================== */
#WyomingBillOfSaleForm {
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    line-height: 1.5;
    padding: 10px;
}

.form-field-container {
    display: inline-flex; /* Flex for alignment */
    align-items: center;
    margin: 0 5px; /* Horizontal spacing */
}

.input-container {
    position: relative; /* For positioning the calculator */
    display: flex;
    align-items: center;
}

.input-container input[type="text"] {
    font-size: 12px;
    /*font-weight: bold;*/
    background: none;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    width: auto;
    min-width: 100px; /* Minimum width */
    max-width: 300px; /* Maximum width */
    text-align: left;
    transition: width 0.2s ease; /* Smooth width adjustment */
    line-height: 1.2; /* Consistent line height */
}

.textWidthCalculator {
    visibility: hidden;
    position: absolute;
    white-space: pre;
    font-size: 12px;
    /*font-weight: bold;*/
    left: 0;
    top: 0;
    font-family: inherit; /* Match the input's font */
    line-height: 1.2; /* Match the input's line height */
}

.input-container input[type="text"]:focus {
    background-color: #fff;
    border-bottom: 1px solid gray;
}

.input-container input[type="text"]::placeholder {
    color: #999;
    font-style: italic;
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 600px) {
    .form-field-container {
        flex-direction: column;
        margin: 5px 0;
    }
    .input-container input[type="text"] {
        min-width: 100%;
        max-width: 100%;
    }
}

/* ==================== NAV BAR STYLES ==================== */
/* Note: Using separate class names or nesting to prevent conflicts */

/* Navigation Bar Container */
nav {
    background: #000000;
    height: 80px;
    width: 100%;
    position: relative; /* For positioning dropdowns */
}

/* Logo Styling */
label.logo {
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 20px;
    font-weight: bold;
    max-height: 60px;
    margin: 0;
}

/* Navigation Menu */
nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

a.active,
a:hover {
    background: #1b9bff;
    transition: 0.5s;
}

/* Hamburger Menu Button */
.checkbtn {
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

/* Responsive Navigation */
@media (max-width: 700px) {
    label.logo {
        font-size: 30px;
        padding-left: 50px;
        margin: 40px 0 0 0;
    }

    nav ul li a {
        font-size: 16px;
    }
}

@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all 0.5s;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    a:hover,
    a.active {
        background: none;
        color: #0082e6;
    }

    #check:checked~nav ul {
        left: 0;
    }
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 0px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.show {
    display: block;
}

/* Iframe Styling */
iframe {
    margin: 0 auto;
    display: block;
}

/* Label Styling */
.label {
    color: white;
    padding: 8px;
    font-family: Arial, sans-serif;
}

/* ==================== BUTTON STYLES ==================== */
.button-XUMM,
.button-long,
.button-save {
    appearance: none;
    backface-visibility: hidden;
    background-color: #3052FF;
    border-radius: 10px;
    border-style: none;
    box-shadow: none;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    height: 18px;
    letter-spacing: normal;
    line-height: 1.5;
    outline: none;
    overflow: hidden;
    padding: 0px 10px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all 0.3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
}

.button-XUMM:hover,
.button-long:hover,
.button-save:hover {
    background-color: #3BDC96;
    box-shadow: rgba(0, 0, 0, 0.05) 0 5px 30px,
                rgba(0, 0, 0, 0.05) 0 1px 4px;
    opacity: 1;
    transform: translateY(0);
    transition-duration: 0.35s;
}

.button-XUMM:hover:after,
.button-long:hover:after,
.button-save:hover:after {
    opacity: 0.5;
}

.button-XUMM:active,
.button-long:active,
.button-save:active {
    box-shadow: rgba(0, 0, 0, 0.1) 0 3px 6px 0,
                rgba(0, 0, 0, 0.1) 0 0 10px 0,
                rgba(0, 0, 0, 0.1) 0 1px 4px -1px;
    transform: translateY(2px);
    transition-duration: 0.35s;
}

.button-XUMM:active:after,
.button-long:active:after,
.button-save:active:after {
    opacity: 1;
}

/* Ensure buttons and labels are inline */
#step_1, .button-long {
    display: inline-block;
    vertical-align: middle;
}
.button-long {
    /* Adjust margin or padding to reduce spacing if needed */
    margin-left: 0px; 
}

/* Ensure buttons and labels are inline */
#step_2, .button-XUMM {
    display: inline-block;
    vertical-align: middle;
}
.button-XUMM {
     /*Adjust margin or padding to reduce spacing if needed */
    margin-left: 0px; 
}

/* Ensure buttons and labels are inline */
#step_3, .button-long {
    display: inline-block;
    vertical-align: middle;
}

/* Ensure buttons and labels are inline */
#step_4, .button-long {
    display: inline-block;
    vertical-align: middle;
}

/* Ensure buttons and labels are inline */
#step_5, .button-long {
    display: inline-block;
    vertical-align: middle;
}

/* Ensure buttons and labels are inline */
#step_6, .button-XUMM {
    display: inline-block;
    vertical-align: middle;
}

/* Ensure buttons and labels are inline */
#step_7, .button-long {
    display: inline-block;
    vertical-align: middle;
}

/* ======= Create two equal columns that floats next to each other ========= */
.column {
  float: left;
  width: 50%;
  /*padding: 10px;*/
  background: none;
  /*background-color: white;*/
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}