/* Base Styles & Typography */
body {
    font-family: 'Vazirmatn', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eaeaea;
}

.lang-switch button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 18px;
    font-family: inherit;
    border: 2px solid #0056b3;
    border-radius: 8px;
    cursor: pointer;
    background-color: transparent;
    color: #0056b3;
    transition: all 0.3s ease;
    font-weight: 700;
}

.lang-switch button .flag-icon {
    width: 28px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.lang-switch button.active,
.lang-switch button:hover {
    background-color: #0056b3;
    color: #ffffff;
}

/* Header & Warnings */
.header {
    text-align: center;
    margin-bottom: 35px;
}

.header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.header h2 {
    color: #7f8c8d;
    font-size: 18px;
    font-weight: 500;
    margin-top: 0;
}

.warning-box {
    background-color: #fff3cd;
    color: #856404;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ffeeba;
    margin-bottom: 30px;
    font-size: 15px;
}

.warning-box p {
    margin: 8px 0;
}

/* Steps Layout */
.step {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 40px;
    background: #fafbfc;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    gap: 20px;
}

.step-img {
    flex: 1 1 300px;
    text-align: center;
}

.step-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.step-text {
    flex: 2 1 400px;
}

.step-text h3 {
    color: #0056b3;
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 700;
}

.step-text h4 {
    color: #34495e;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-text p {
    color: #4a5568;
    font-size: 16px;
    margin: 0;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
    
    .lang-switch button {
        flex: 1 1 100%;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }
}