.mb-1 {
    margin-bottom: 16px;
}

.mb-2 {
    margin-bottom: 32px;
}

.mb-3 {
    margin-bottom: 48px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    width: 95%;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn .3s ease;
    position: relative;
}

.close {
    position: absolute;
    top: 16px;
    right: 2rem;
    cursor: pointer;
    font-size: 32px;
    color: #333;
}

.input-group input,
.input-group textarea {
    width: 100%;
    display: block;
    padding: 8px;
    font-size: 16px;
    outline: none;
    border: 1px solid #7C7C7C;
    color: #333;
    margin-bottom: 24px !important;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    font-size: 16px;
    color: #7C7C7C;
    font-family: 'Inter', sans-serif;
}

form button {
    width: 100%;
    border: 1px solid transparent;
    color: #fff;
    width: 100%;
    padding: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

form button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

form button:active:not(:disabled) {
    transform: translateY(0);
}

form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error {
    color: #f31;
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.input-group input.error-border,
.input-group textarea.error-border {
    border-color: #f31;
    margin-top: -16px;
}

/* Loading Spinner para o botão */
button .loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}