﻿
button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: #018cd1;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
}

    button:hover {
        opacity: .95;
    }

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* Modal */
.modal {
    position: relative;
    background: #fff;
    padding: 36px;
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    animation: scaleIn .2s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(.96);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close button */
.close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
}

    .close:hover {
        color: #0f172a;
    }

.modal h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.modal p {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 14px;
}

.modal input {
    width: calc(100% - 30px);
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}

    .modal input:focus {
        outline: none;
        border-color: #6366f1;
    }

.message {
    margin-top: 24px;
    padding: 14px;
    background: #ecfdf5;
    color: #047857;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}
