/* Kayahan Premium Modal Styles */
.wpdl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wpdl-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.wpdl-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 32px;
    position: relative;
}

.wpdl-modal-overlay.is-active .wpdl-modal-container {
    transform: translateY(0);
}

.wpdl-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
}

.wpdl-modal-header {
    margin-bottom: 24px;
    text-align: center;
}

.wpdl-modal-header h3 {
    margin: 0;
    color: #343349;
    font-size: 20px;
    font-weight: 700;
}

.wpdl-modal-header p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.wpdl-modal-form input[type="email"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    margin-bottom: 16px !important;
    outline: none !important;
    transition: border-color 0.2s;
}

.wpdl-modal-form input[type="email"]:focus {
    border-color: #FA423A !important;
    box-shadow: 0 0 0 3px rgba(250, 66, 58, 0.1) !important;
}

.wpdl-modal-submit {
    width: 100%;
    background: #FA423A;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wpdl-modal-submit:hover {
    background: #343349;
}

.wpdl-modal-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Spinner */
.wpdl-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: none;
    animation: wpdl-rotation 1s linear infinite;
}

@keyframes wpdl-rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wpdl-modal-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
    text-align: center;
}

.wpdl-modal-message.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
}

.wpdl-modal-message.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
}