* {
    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;
    position: relative;
}

.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: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 0;
    align-items: stretch;
}

.left-column, .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;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

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

.toggles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
    padding: 15px;
}

.logo-image {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.logo-image:hover {
    transform: scale(1.05);
    opacity: 1;
}

.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecef;
    border-radius: 10px;
    background: #fafbfc;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2334495e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select:focus {
    border-color: #667eea;
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group select:hover {
    border-color: #3498db;
}

.form-group select option {
    padding: 12px;
    background: white;
    color: #2c3e50;
}

.service-select-group {
    margin-bottom: 20px;
}

.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
}

.toggle-item:hover {
    border-color: #3498db;
    background: #f0f7ff;
    transform: translateX(5px);
}

.toggle-label {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.toggle-switch {
    width: 60px;
    height: 32px;
    background: #bdc3c7;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.toggle-switch.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.toggle-handle {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toggle-handle.active {
    left: calc(100% - 30px);
}

.toggle-state {
    font-size: 14px;
    color: #95a5a6;
    min-width: 90px;
    text-align: right;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toggle-state.active {
    color: #667eea;
    font-weight: 600;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    margin-bottom: 0;
}

.controls .reset-button,
.controls .submit-btn {
    width: 100%;
}

.reset-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.reset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.status-info {
    text-align: center;
    margin-top: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
}

.status-info strong {
    color: #667eea;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.right-column h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.right-column form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.right-column .submit-btn {
    margin-top: auto;
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 14px;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecef;
    border-radius: 10px;
    background: #fafbfc;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.submit-btn.disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}

.submit-btn.disabled:hover {
    background: #95a5a6;
}

.checkbox-bottom {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-bottom input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #667eea;
    flex-shrink: 0;
}

.checkbox-bottom label {
    font-size: 14px;
    color: #7f8c8d;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.checkbox-bottom label:hover {
    color: #34495e;
}

.app-notification {
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 10px 14px;
    border-radius: 8px;
    color: white;
    font-weight: 400;
    font-size: 13px;
    z-index: 2000;
    animation: slideIn 0.3s ease;
    max-width: 280px;
    width: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.4;
}

.app-notification.notification-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.app-notification.notification-error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.app-notification.notification-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 1;
}

.notification-close:hover {
    opacity: 1;
}

.temp-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(52, 52, 52, 0.92);
    color: white;
    font-size: 12px;
    font-weight: 400;
    padding: 7px 14px;
    border-radius: 20px;
    z-index: 3000;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: fadeInUp 0.25s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .content-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .container {
        padding: 20px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .left-column, .right-column {
        padding: 20px;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .lang-toggle {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .toggles-container {
        gap: 15px;
    }
    
    .toggle-item {
        padding: 18px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .logo-container {
        margin: 20px 0;
        padding: 10px;
    }
    
    .logo-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .left-column, .right-column {
        padding: 15px;
    }
    
    .toggle-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 15px;
    }
    
    .toggle-label {
        font-size: 16px;
    }
    
    .toggle-state {
        font-size: 13px;
    }
    
    .toggle-switch {
        margin: 8px 0;
    }
    
    .service-select-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .reset-button,
    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .checkbox-bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    .checkbox-bottom label {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .status-info p {
        font-size: 12px;
    }
    
    .logo-container {
        margin: 15px 0;
        padding: 8px;
    }
    
    .logo-image {
        max-width: 120px;
    }
}