@font-face {
    font-family: 'UKIJ Qara';
    src: url('https://edu.uyghurstem.com/static/fonts/UKIJQara.woff2') format('woff2'),
        url('https://edu.uyghurstem.com/static/fonts/UKIJQara.woff') format('woff'),
        url('https://edu.uyghurstem.com/static/fonts/UKIJQara.ttf') format('truetype'),
        url('https://edu.uyghurstem.com/static/fonts/UKIJQara.svg#UKIJQara') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UKIJ Qara';
    src: url('https://edu.uyghurstem.com/static/fonts/UKIJQara-Bold.woff2') format('woff2'),
        url('https://edu.uyghurstem.com/static/fonts/UKIJQara-Bold.woff') format('woff'),
        url('https://edu.uyghurstem.com/static/fonts/UKIJQara-Bold.ttf') format('truetype'),
        url('https://edu.uyghurstem.com/static/fonts/UKIJQara-Bold.svg#UKIJQara-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



body {
    background-color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(to right, #FF8C00, #FFA500);
    color: white;
    padding: 20px;
}

.form-control:focus {
    border-color: #FF8C00;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

.btn-primary {
    background: linear-gradient(to right, #FF8C00, #FFA500);
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.agreement-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
}

.agreement-title {
    font-weight: bold;
    color: #FF8C00;
    margin-bottom: 10px;
}

.success-container {
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.resend-btn {
    background-color: #ffc107;
    border: none;
    color: #212529;
    transition: all 0.3s;
}

.resend-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-indicator::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.step.active .step-circle {
    background: linear-gradient(to right, #FF8C00, #FFA500);
    color: white;
}

.step-text {
    font-size: 0.85rem;
    text-align: center;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 40px;
    cursor: pointer;
    color: #6c757d;
}

.match-error {
    color: #dc3545;
    font-size: 0.875rem;
    display: none;
}

.activation-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.activation-option {
    flex: 1;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.activation-option:hover {
    border-color: #FF8C00;
    background-color: #fffaf0;
}

.activation-option.active {
    border-color: #FF8C00;
    background-color: #fffaf0;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.activation-option i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #FF8C00;
}

.code-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.code-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    transition: all 0.3s;
}

.code-input:focus {
    border-color: #FF8C00;
    box-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
    outline: none;
}

.activation-info {
    background-color: #f8f9fa;
    border-left: 4px solid #FF8C00;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

 /* form */
 input#password, input#confirm_password{
    direction: ltr;
}

p, h1, h2, h3, h4, h5, h6, input, font {
    font-family: UKIJ Qara;
}


/* tel */
.iti__country-list {
    left: 0;
}

@media (max-width: 500px) {
    .iti__country-list {
        white-space: normal;
        min-width: 350px;
    }
}

.iti {
    display: block !important;
}

.input-group {
    display: block !important;
}


.btn {
    border-radius: 8px;
    font-weight: 500;
}

        /* Alert Styles */
        .alert {
            border-radius: 10px;
            margin-bottom: 20px;
            padding: 15px 20px;
            border: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .alert-success {
            background: #f0fff4;
            color: #2e7d32;
            border-left: 4px solid #4caf50;
        }
        
        .alert-danger {
            background: #fff5f5;
            color: #c53030;
            border-left: 4px solid #f56565;
        }
        
        .alert i {
            font-size: 1.2rem;
        }
        
        .btn-close {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: inherit;
            cursor: pointer;
            margin-right: auto;
            opacity: 0.7;
        }
        
        .btn-close:hover {
            opacity: 1;
        }