.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

.dots span {
    font-size: 24px;
    line-height: 1;
    vertical-align: middle;
    animation: blink 1.4s infinite both;
    display: inline-block;
    font-weight: bold;
}

.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}

.z-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

.z-modal-window {
    background: #ffffff;
    padding: 24px;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    box-sizing: border-box;
    animation: zFadeIn 0.25s ease-out;
}

.z-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    font-size: 24px;
    color: #aaaaaa;
    cursor: pointer;
    line-height: 1;
}
.z-modal-close:hover { color: #333333; }

.z-modal-header {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 14px;
}
.z-modal-body {
    font-size: 14px;
    line-height: 1.5;
    color: #4a4a4a;
    margin-bottom: 24px;
}

.z-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.z-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: background 0.15s ease;
}

.z-btn-primary {
    background: #00b5c2;
    color: #ffffff;
}
.z-btn-primary:hover { background: #00b5c2; }

.z-btn-secondary {
    background: #e4e7eb;
    color: #4a4a4a;
}
.z-btn-secondary:hover { background: #cbd3da; }

@keyframes zFadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}