
.login-container {
    text-align: center;
}

.login-open-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.login-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.login-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    animation: loginFadeIn 0.3s ease;
}

.login-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: loginSlideUp 0.3s ease;
}

.login-popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-popup-title {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.login-form-group {
    margin-bottom: 20px;
    text-align: right;
}

.login-form-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

.login-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    text-align: center;
    direction: ltr;
}

.login-form-input:focus {
    outline: none;
    border-color: #667eea;
}

.login-btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.login-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.login-btn-primary {
    background: linear-gradient(45deg, #ea6666, #ff0101);
    color: white;
}

.login-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.login-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.login-btn-secondary:hover {
    background: #e9ecef;
}

.login-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-close-btn:hover {
    color: #333;
}

.login-loading {
    display: none;
    text-align: center;
    color: #667eea;
    margin: 10px 0;
}

.login-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: loginSpin 1s linear infinite;
    margin-left: 10px;
}

.login-step {
    display: none;
}

.login-step.active {
    display: block;
}

@keyframes loginFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes loginSlideUp {
    from { 
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes loginSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-timer-section {
    text-align: center;
    margin: 20px 0;
}

.login-timer-display {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.login-resend-section {
    text-align: center;
    margin: 20px 0;
}

.login-resend-text {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 10px;
}

.login-btn-resend {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn-resend:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.login-btn-resend:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}