body {
    font-family: 'Google Sans', 'Open Sans', Roboto, Arial, sans-serif;
    background-color: #1e1f20;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
    body {
        background-color: #0e0e0e;
    }
}

/* Floating label styles */
.peer:focus~label,
.peer:not(:placeholder-shown)~label {
    transform: translateY(-50%) scale(0.75);
    top: 0;
    left: 12px;
    color: #8ab4f8;
    background-color: #0e0e0e;
    padding: 0 4px;
}

.peer.error-active:focus~label,
.peer.error-active:not(:placeholder-shown)~label {
    color: #e24c4c !important;
}

.peer:not(:placeholder-shown):not(:focus)~label {
    color: #9ca3af;
}

/* Custom Checkbox */
.checkbox-custom {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #747775;
    border-radius: 2px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    outline: none;
}

.checkbox-custom:checked {
    background-color: #a8c7fa;
    border-color: #a8c7fa;
}

.checkbox-custom:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #0b0f19;
    /* Dark color for checkmark */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Fix for Chrome autofill background in dark mode */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0e0e0e inset !important;
    -webkit-text-fill-color: #e3e3e3 !important;
    caret-color: #e3e3e3 !important;
    transition: background-color 5000s ease-in-out 0s;
}