/* Telegram Step-by-Step Modal Styles */

/* Step Indicator */
.telegram-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
}

.step-item.completed {
    opacity: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, #FEB103 0%, #ff8c00 100%);
    box-shadow: 0 4px 15px rgba(254, 177, 3, 0.4);
    animation: pulse 2s infinite;
}

.step-item.completed .step-circle {
    background: #4CAF50;
}

.step-item.completed .step-circle::before {
    content: '✓';
    font-size: 24px;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.step-item.active .step-label {
    color: #FEB103;
}

.step-item.completed .step-label {
    color: #4CAF50;
}

.step-line {
    width: 80px;
    height: 3px;
    background: #ddd;
    margin: 0 10px;
    margin-bottom: 25px;
}

.step-item.completed + .step-line {
    background: #4CAF50;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Step Content */
.telegram-step-content {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Box */
.telegram-info-box {
    background: #E3F2FD;
    border-left: 4px solid #2196F3;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.telegram-info-box i {
    font-size: 20px;
    color: #2196F3;
    flex-shrink: 0;
}

.telegram-info-box div {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* Telegram Form */
.telegram-form {
    margin: 25px 0;
}

.telegram-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.telegram-label i {
    color: #0088cc;
}

.telegram-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.telegram-input:focus {
    outline: none;
    border-color: #FEB103;
    box-shadow: 0 0 0 3px rgba(254, 177, 3, 0.1);
}

.telegram-hint-small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Success Box */
.telegram-success-box {
    background: #E8F5E9;
    border-left: 4px solid #4CAF50;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.telegram-success-box i {
    font-size: 24px;
    color: #4CAF50;
    flex-shrink: 0;
}

.telegram-success-box div {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* Primary Button */
.telegram-primary-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FEB103 0%, #ff8c00 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 177, 3, 0.3);
}

.telegram-primary-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 177, 3, 0.4);
}

.telegram-primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Secondary Button */
.telegram-secondary-button {
    width: 100%;
    padding: 14px;
    background: #f5f5f5;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.telegram-secondary-button:hover {
    background: #e0e0e0;
    border-color: #bbb;
}

/* Loading Animation */
.telegram-loading {
    text-align: center;
    padding: 30px 0;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: #FEB103;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.telegram-loading p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Success Title */
.telegram-title.telegram-success {
    color: #4CAF50;
}

.telegram-title.telegram-success i {
    color: #4CAF50;
}

/* Responsive */
@media (max-width: 768px) {
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-line {
        width: 50px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .telegram-step-indicator {
        margin-bottom: 30px;
    }
}
