@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

.nxy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nxy-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nxy-dialog {
    background: #1a1a1a;
    border: 1px solid #333;
    width: 400px;
    max-width: 90%;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.nxy-overlay.active .nxy-dialog {
    transform: scale(1);
}

/* Icon Container */
.nxy-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    position: relative;
}

.nxy-icon-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}

.nxy-icon-box i {
    z-index: 1;
}

/* Themes */
.nxy-theme-success .nxy-icon-box {
    background: rgba(225, 223, 50, 0.1);
    color: #e1df32;
}

.nxy-theme-success .nxy-icon-box::after {
    background: #e1df32;
}

.nxy-theme-success .nxy-btn-confirm {
    background-color: #e1df32;
    color: #000;
}

.nxy-theme-error .nxy-icon-box {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.nxy-theme-error .nxy-icon-box::after {
    background: #ff4444;
}

.nxy-theme-error .nxy-btn-confirm {
    background-color: #ff4444;
    color: #fff;
}

.nxy-theme-info .nxy-icon-box {
    background: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
}

.nxy-theme-info .nxy-icon-box::after {
    background: #00bcd4;
}

.nxy-theme-info .nxy-btn-confirm {
    background-color: #00bcd4;
    color: #fff;
}

.nxy-theme-warning .nxy-icon-box {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.nxy-theme-warning .nxy-icon-box::after {
    background: #ff9800;
}

.nxy-theme-warning .nxy-btn-confirm {
    background-color: #ff9800;
    color: #fff;
}

/* Text */
.nxy-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.nxy-message {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Inputs */
.nxy-input {
    width: 100%;
    padding: 12px 15px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 25px;
    outline: none;
    transition: border-color 0.2s;
}

.nxy-input:focus {
    border-color: #666;
}

/* Buttons */
.nxy-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.nxy-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: transform 0.2s, opacity 0.2s;
    min-width: 100px;
}

.nxy-btn:active {
    transform: scale(0.96);
}

.nxy-btn-cancel {
    background: transparent;
    color: #888;
    border: 1px solid #333;
}

.nxy-btn-cancel:hover {
    background: #222;
    color: #fff;
}

.nxy-footer {
    margin-top: 20px;
    color: #333;
    font-size: 0.75rem;
}

/* Contact Theme */
.nxy-theme-contact .nxy-icon-box {
    background: rgba(225, 223, 50, 0.1);
    color: #e1df32;
}

.nxy-theme-contact .nxy-icon-box::after {
    background: #e1df32;
}

.nxy-theme-contact .nxy-btn-confirm {
    background-color: #e1df32;
    color: #000;
}

.nxy-theme-contact .nxy-actions {
    margin-top: 40px;
    /* Move button lower */
}