* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    overflow: visible;
    z-index: 1000;
}

.lang-toggle {
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    color: #7f8c8d;
    transition: all 0.3s ease;
    border-radius: 16px;
    z-index: 1;
    position: relative;
    font-size: 13px;
}

.lang-toggle:hover {
    color: #2c3e50;
}

.lang-toggle.active {
    color: black;
}

.lang-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 0;
    pointer-events: none;
}

.content-row {
    display: block;
    margin-bottom: 0;
}

.right-column {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: block;
}

.right-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group h2 {
    text-align: left;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 0;
    border-bottom: none;
}

.form-group p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 15px;
}

.form-group ul {
    margin: 10px 0 10px 25px;
    line-height: 1.6;
}

.form-group li {
    color: #34495e;
    font-size: 15px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .right-column {
        padding: 20px;
    }
    
    .form-group h2 {
        font-size: 18px;
    }
    
    .form-group p,
    .form-group li {
        font-size: 14px;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .lang-toggle {
        padding: 5px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .right-column {
        padding: 15px;
    }
    
    .form-group h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .form-group p,
    .form-group li {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .form-group ul {
        margin-left: 20px;
    }
}

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.back-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .back-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}
