/* Custom form styles */
.form-input {
    background: #171a24;
    border: 1px solid #212430;
    transition: all 0.2s ease;
}

.form-input:focus {
    background: #1c202d;
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

/* Custom checkbox */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #2d3345;
    border-radius: 6px;
    background: #171a24;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: inline-block;
    vertical-align: middle;
}

.custom-checkbox:checked {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    border-color: #a855f7;
}

.custom-checkbox:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

/* Loading animation */
.loading-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Message animation */
.message {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.message.show {
    transform: translateY(0);
    opacity: 1;
}