/* 1. IMPORT YOUR FONTS (Make sure to use your absolute URLs!) */
@font-face {
    font-family: "AvenirNext";
    src: url("https://tamuhack.com/fonts/AvenirNext/AvenirNext-Regular-08.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "AvenirNext";
    src: url("https://tamuhack.com/fonts/AvenirNext/AvenirNext-Bold-01.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

/* 2. BASE TYPOGRAPHY */
body, html, input, button, select, textarea {
    font-family: 'AvenirNext', sans-serif;
    background-color: #f9f9f9;
    color: black;
}

h1, h2, h3 {
    font-weight: 600 !important;
    color: #232323;
}

p {
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
}

/* 3. LISTMONK SPECIFIC BUTTON STYLING (Using your .tamu-button logic) */
.button, input[type="submit"], button {
    background-color: #FF7C93 !important;
    border-radius: 4px !important;
    border: 2px solid #FF7C93 !important;
    color: white !important;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover, input[type="submit"]:hover, button:hover {
    background-color: #D47082 !important;
    border: 2px solid #D47082 !important;
}

/* 4. FORM FIELDS (Using your .form-control logic) */
input[type="text"], input[type="email"] {
    padding: 15px 18px !important;
    border: 1px solid #DFDFDF !important;
    border-radius: 4px !important;
    width: 100%;
    box-sizing: border-box;
    font-weight: 300;
}

input[type="text"]:focus, input[type="email"]:focus {
    outline: none;
    border-color: #3E678C !important; 
}

/* 5. LINKS */
a {
    color: #3E678C;
    text-decoration: none;
}
a:hover {
    color: #2E4D68;
    text-decoration: underline;
}

/* 1. Fix the List Label Font Weight */
form label {
    font-weight: 300 !important;
    color: black;
    vertical-align: middle; /* Keeps the text aligned perfectly with the checkbox */
}

/* 2. Strip the browser's default checkbox styling */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    margin: 0;
    margin-right: 8px; /* Adds breathing room between the box and the "Opt-in list" text */
    width: 18px;
    height: 18px;
    border: 2px solid #DFDFDF;
    border-radius: 4px; /* Gives it the same soft rounded edges as your text inputs */
    display: inline-block;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;
}

/* 3. Style the checkbox when it is clicked (The TAMUhack Pink) */
input[type="checkbox"]:checked {
    background-color: #FF7C93;
    border-color: #FF7C93;
}

/* 4. Draw the actual checkmark inside the box */
input[type="checkbox"]::after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;       /* Nudged right */
    top: 0px;        /* Nudged down */
    width: 4px;      /* Slightly narrower */
    height: 9px;     /* Slightly shorter */
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 5. Show the checkmark only when checked */
input[type="checkbox"]:checked::after {
    display: block;
}