.form-control {
    background-color: #fafafa;
    height: 40px;
    border: 2px solid #fafafa;
    border-radius: 10px;
}

.form-control2 {
    background-color: #fafafa;
    border: 2px solid #fafafa;
    border-radius: 10px;
    margin-bottom: 10px;
    height: 40px;
}

.section {
    padding: 30px;
}

.btn-primary {
    background-color: #007bff;
    border: 1px solid #007bff;
}
.btn-primary:hover {
    background-color: #0056b3;
    border: 1px solid #0056b3;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.row.full-height {
    display: flex;
    align-items: stretch;
}
.col-equal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.select {
    color: #1e1e1e52;
}
button,
.submitted,
.sign,
.verify {
    background-color: #834315; /* your custom brown */
    border: 2px solid #834315;
    color: white;
    border-radius: 5px;
    padding: 8px 12px;
    width: 100%;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

/* Hover state */
button:hover,
.submitted:hover,
.sign:hover,
.verify:hover {
    background-color: #6e3912; /* darker brown */
    border-color: #6e3912;
    cursor: pointer;
}

/* Active (on click) state */
button:active,
.submitted:active,
.sign:active,
.verify:active {
    background-color: #552b0e; /* deepest brown */
    border-color: #552b0e;
    transform: scale(0.98); /* subtle click effect */
}

.started {
    color: #834315;
}
@media (max-width: 756px) {
    .logged {
        display: none;
    }
}
.join {
    color: #475467;
}
.join2 {
    color: #718096;
}

.verification-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #fafafa;
    border-radius: 5px;
    margin: 0 5px;
    background-color: #fafafa;
}

.input-div {
    display: inline-block;
}

.join3 {
    color: #dbdce0;
}

.verification {
    background-color: #f35746;
    border: 2px solid #f35746;
    margin-top: 20px;
    padding: 5px;
    border-radius: 5px;
}

#formMessage {
    font-weight: 500;
    margin-bottom: 10px;
}

#formMessage.success {
    color: #28a745; /* green */
}

#formMessage.error {
    color: #dc3545; /* red */
}

/* Fix for password eye toggle */

/* Force password and eye toggle to stay inline */
.input-group {
    display: flex !important;
    align-items: stretch !important;
    width: 100%;
}

.input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    margin: 0 !important;
    border-right: none !important;
    border-radius: 10px 0 0 10px !important;
}

#togglePassword {
    background-color: #834315 !important;
    border: 2px solid #834315 !important;
    border-left: none !important;
    border-radius: 0 10px 10px 0 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    transition: 0.2s ease;
}

#togglePassword:hover {
    background-color: #6e3912 !important;
    border-color: #6e3912 !important;
}

/* Make placeholder text lighter and more subtle */
::placeholder {
    color: rgba(30, 30, 30, 0.4) !important;
    font-weight: 400 !important;
}

/* Match all select components (month/day/graduation) to .form-control style */
.form-select {
    background-color: #fafafa !important;
    border: 2px solid #fafafa !important;
    border-radius: 10px !important;
    height: 40px !important;
    color: #1e1e1e !important;
    font-weight: 400 !important;
    appearance: none; /* remove browser default arrow style */
}

/* Optional: subtle placeholder color for select elements */
.form-select option:first-child {
    color: rgba(30, 30, 30, 0.4) !important;
}

/* Keep spacing consistent for month + day */
#month,
#day {
    flex: 1;
    min-width: 0;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
