.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.popup-overlay.hiding {
    animation: fadeOut 0.3s ease forwards;
}

.popup {
    background: rgba(28, 28, 30, 0.4);
    padding: 25px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.popup-overlay.show .popup {
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.popup-overlay.hiding .popup {
    animation: scaleOut 0.2s ease forwards;
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.popup-title {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.popup-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.popup-content {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease;
}

.popup-content:hover {
    background: rgba(255, 255, 255, 0.04);
}

.popup-number {
    font-size: 24px;
    color: #60A5FA;
    text-align: center;
    font-weight: 600;
    margin-bottom: 5px;
}

.popup-name {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.popup-button {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.button-cancel {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.button-cancel:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.button-confirm {
    background: rgba(96, 165, 250, 0.1);
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.1);
}

.button-confirm:hover {
    background: rgba(96, 165, 250, 0.15);
    transform: translateY(-1px);
}

.input-field {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
    .popup {
        padding: 20px;
    }

    .popup-title {
        font-size: 20px;
    }

    .popup-number {
        font-size: 20px;
    }

    .popup-button {
        padding: 12px;
        font-size: 14px;
    }

    .input-field {
        padding: 12px;
        font-size: 14px;
    }
}