
/* Input fields, select dropdowns, textareas */
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    width: 90%;
    max-width: 90%;
    min-width: 0;
    flex: 1 1 auto;
    box-sizing: border-box;
}

.form hr{
    margin-top: 10px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: #66ccff;
    background-color: rgba(255, 255, 255, 0.15);
}

.form div{
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
}

/* Labels */
.form label {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 90%;
    margin-top: 10px;
}

/* Make inputs same size and prevent shrinking */
.form input[type="radio"],
.form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: auto; /* Push input all the way right */
}
/* Submit button */
.form button[type="submit"] {
    align-self: flex-start;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    border: none;
    background:  #3399ff;
    color: white;
    cursor: pointer;
    transition: all 0.5s ease;
    margin: 10px;
}

.form button[type="submit"]:hover {
    background: white;
    color: red;
    border: 1px solid red;
}

.form button[type="submit"]:disabled {
    background: rgba(100, 100, 100, 0.5);
    cursor: not-allowed;
}

/* Alert bars */
.form .gate-quote-success,
.form .error-bar {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.success-bar {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 20px;
    min-height: 20px;
}

.error-bar {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 20px;
    min-height: 20px;
}