/* ===== Уведомления (toast) ===== */
.toast-notify {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    border-left: 5px solid #3b82f6;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: white;
    font-size: 14px;
    z-index: 1100;
    animation: slideIn 0.2s ease-out;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.tooltip-icon {
    display: inline-block;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    background: #334155;
    color: #94a3b8;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    cursor: help;
    position: relative;
}
.tooltip-text {
    visibility: hidden;
    width: 260px;
    background-color: #0f172a;
    color: #f1f5f9;
    text-align: left;
    border-radius: 12px;
    padding: 10px 14px;
    position: absolute;
    z-index: 10;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: normal;
    border: 1px solid #475569;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.tooltip-icon:hover .tooltip-text {
    visibility: visible;
}

.quick-examples {
    margin: 1rem 0 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.quick-example-btn {
    background: #334155;
    border: none;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 13px;
    cursor: pointer;
    color: #e2e8f0;
    transition: 0.2s;
}
.quick-example-btn:hover {
    background: #3b82f6;
    color: white;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}
.modal-window {
    background: #1e293b;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    box-shadow: 0 20px 35px rgba(0,0,0,0.4);
    border: 1px solid #475569;
}
.modal-window h3 {
    font-size: 1.8rem;
    margin-top: 0;
    color: #facc15;
}
.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}
.modal-buttons button {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
}
.btn-primary {
    background: #3b82f6;
    color: white;
}
.btn-secondary {
    background: #334155;
    color: #e2e8f0;
}

.input-group textarea:focus,
#qrText:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.3);
}