body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.popup {
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 30px;
    position: relative;
    text-align: center;
    box-sizing: border-box;
}

.popup h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.popup p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.popup label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    text-align: left;
    display: block;
    margin-top: 10px;
}

.popup input,
.popup select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.popup input:focus,
.popup select:focus {
    border-color: #007bff;
    outline: none;
}

.popup .error-input {
    border-color: red;
    background-color: #ffe6e6;
}

.popup .error-message {
    font-size: 12px;
    color: red;
    margin-top: -10px;
    margin-bottom: 10px;
}

.popup .confirm-btn {
    width: 100%;
    padding: 12px;
    background: #ff7d3b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.popup .confirm-btn:hover {
    background: #ff5c00;
}

.popup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.popup .close-btn:hover {
    color: #333;
}

/* Responsive styles */
@media (max-width: 480px) {
    .popup {
        width: 95%;
        padding: 20px;
    }

    .popup h2 {
        font-size: 18px;
    }

    .popup p, 
    .popup label,
    .popup input, 
    .popup select {
        font-size: 12px;
    }

    .popup .confirm-btn {
        font-size: 14px;
        padding: 10px;
    }

    .popup .close-btn {
        font-size: 20px;
    }
}
