/* ----------------------------------------------------------------------------- *
 *                              Cart Main Styling                                *
 * ----------------------------------------------------------------------------- */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.form-section {
    margin-bottom: 35px;
}

.normal-label {
    font-weight: bold;
    font-size: 15px;
    color: grey;
    display: block;
}

/* Dunkle Input-Felder */
.inputform,
select,
textarea {
    background-color: #2c2c2c;
    color: var(--text-color);
    border: 1px solid #444;
    padding: 10px;
    margin: 5px;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.inputform:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #777;
    background-color: #333;
}

.checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin: 5px;
    transition: background-color 0.2s, border-color 0.2s;
}

.checkbox:checked {
    background-color: #555;
    border-color: #777;
}

.checkbox:checked::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    width: 6px;
    height: 12px;
    border: solid var(--text-color);
    border-width: 0 3px 3px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* ----------------------------------------------------------------------------- *
 *                                Persönliche Daten                              *
 * ----------------------------------------------------------------------------- */

#personal-data {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

#personal-data h2 {
    font-style: normal;
    color: grey;
    padding-left: 4px;
}

/* ----------------------------------------------------------------------------- *
 *                                Datum Styling                                  *
 * ----------------------------------------------------------------------------- */
#rent-date-choose {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.rent-data-div {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.rent-data-div label {
    font-weight: bold;
    font-size: 15px;
    color: grey;
    display: block;
}


#date-note {
    display: flex;
    margin-top: 20px;
    font-size: 16px;
    color: #aaa;
    justify-content: center;

}

/* ----------------------------------------------------------------------------- *
 *                              Tabelle Styling                                  *
 * ----------------------------------------------------------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #2b2b2b;
    color: grey;
    border: 1px solid #444;
}

th,
td {
    padding: 12px;
    border: 1px solid #444;
    text-align: center;
    font-size: 14px;
}

th {
    background-color: #3a3a3a;
}

tr:nth-child(even) {
    background-color: #242424;
}

/* ----------------------------------------------------------------------------- *
 *                                 Dropdown Styling                              *
 * ----------------------------------------------------------------------------- */
#use-case {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    align-items: center;
}

#case-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

#case-note {
    font-size: 16px;
    color: #aaa;
    margin: 0;
}

#use-case-dropdown {
    max-width: 400px;
}

/* ----------------------------------------------------------------------------- *
 *                              Zusatz Infos Styling                             *
 * ----------------------------------------------------------------------------- */
#label-zusatz {
    padding-left: 4px;
    margin-bottom: 10px;
}

/* ----------------------------------------------------------------------------- *
 *                                 Submit Styling                                *
 * ----------------------------------------------------------------------------- */
#label-agb {
    display: flex;
    margin-top: 20px;
    font-size: 16px;
    color: #aaa;
    justify-content: start;
    align-items: center;
}


#contact-info {
    display: flex;
    margin-top: 20px;
    font-size: 16px;
    color: #aaa;
    justify-content: start;
    margin-bottom: 15px;
    padding-left: 4px;
}

p a {
    color: var(--light-primary-color);
    text-decoration: none;
}

label a {
    color: var(--light-primary-color);
    text-decoration: none;
}

/* Submit Button */
input[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    margin-top: 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    width: auto;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: var(--light-primary-color);
}