.modal {
    display: none !important;
}

.modal.show {
    display: flex !important;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 440px;
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.025em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #111827;
}

.modal-desc {
    color: #6b7280;
    font-size: 0.925rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Form Styles inside Modal */
.field {
    margin-bottom: 20px;
    text-align: left;
}

.field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.field input {
    width: 100%;
    height: 52px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 0.95rem;
    background: #f9fafb;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
}

.field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: #fff;
}

.field input::placeholder {
    color: #9ca3af;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}