/* static/OLDstyles/otp-verification.css - nový súbor */

.otp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f6f6f672;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.otp-modal {
    background: linear-gradient(110deg, var(--color-purple1)  10%, var(--color-blue1)  100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: otpModalSlideIn 0.3s ease-out;
}

@keyframes otpModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.otp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.otp-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.otp-close-btn {
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.otp-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(90deg);
}

.otp-modal-body {
    padding: 20px 30px 30px;
}

.otp-welcome-message {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.otp-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.otp-welcome-message h3 {
    margin: 0 0 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.otp-welcome-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.otp-step {
    color: white;
}

.otp-input-group {
    margin-bottom: 25px;
}

.otp-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.otp-phone-input,
.otp-code-input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.otp-phone-input::placeholder,
.otp-code-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.otp-phone-input:focus,
.otp-code-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.otp-help-text {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
}

.otp-btn-primary,
.otp-btn-secondary {
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    min-width: 140px;
}

.otp-btn-primary {
    background: #ffffff;
    color: #3d3d3d;
    width: 100%;
    margin-bottom: 15px;
}

.otp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 66, 238, 0.4);
}

.otp-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.otp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.otp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.otp-loading {
    text-align: center;
    padding: 40px 20px;
    color: white;
}

.otp-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: otpSpin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes otpSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.otp-error {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 500;
    border-left: 4px solid #c0392b;
}

.otp-success {
    background: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 500;
    border-left: 4px solid #27ae60;
}

.otp-icon img {
    width: auto;
    height: 60px;
    object-fit: contain;
}

/* Pre mobily menšie logo */
@media (max-width: 768px) {
    .otp-icon img {
        width: auto;
        height: 40px;
    }
}

/* MOBILNÝ DIZAJN - PODSTATNE MENŠÍ */
@media (max-width: 768px) {
    .otp-modal {
        width: 95%;
        max-width: 350px;
        margin: 10px;
        border-radius: 12px;
    }
    
    .otp-modal-header {
        padding: 15px 20px 10px;
    }
    
    .otp-modal-body {
        padding: 15px 20px 20px;
    }
    
    .otp-modal-header h2 {
        font-size: 1.1rem;
    }
    
    .otp-welcome-message {
        margin-bottom: 20px;
    }
    
    .otp-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .otp-welcome-message h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .otp-welcome-message p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .otp-input-group {
        margin-bottom: 18px;
    }
    
    .otp-input-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .otp-phone-input,
    .otp-code-input {
        padding: 12px 15px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .otp-help-text {
        font-size: 0.75rem;
        margin-top: 6px;
    }
    
    .otp-btn-primary,
    .otp-btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .otp-loading {
        padding: 25px 15px;
    }
    
    .otp-spinner {
        width: 30px;
        height: 30px;
        margin-bottom: 15px;
    }
    
    .otp-error,
    .otp-success {
        padding: 12px;
        font-size: 0.85rem;
        margin-top: 12px;
    }
}

/* Animácie pre kroky */
.otp-step {
    animation: otpStepFadeIn 0.3s ease-in;
}

@keyframes otpStepFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}