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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: #2E86AB;
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    opacity: 0.9;
    font-size: 1.1em;
}

.tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-button {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: white;
    border-bottom: 3px solid #2E86AB;
    font-weight: 600;
}

.tab-button:hover:not(.active) {
    background: #e9ecef;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

textarea, input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
    font-family: monospace;
}

textarea:focus, input[type="password"]:focus {
    outline: none;
    border-color: #2E86AB;
}

.primary-btn {
    background: #2E86AB;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
}

.primary-btn:hover {
    background: #1a6a8c;
}

.secondary-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.secondary-btn:hover {
    background: #5a6268;
}

.info {
    background: #f8f9fa;
    padding: 20px;
    margin: 0 30px 30px;
    border-radius: 8px;
    border-left: 4px solid #2E86AB;
}

.info h3 {
    margin-bottom: 10px;
    color: #2E86AB;
}

.info ul {
    list-style-position: inside;
}

.info li {
    margin-bottom: 5px;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 8px;
    }
    
    header {
        padding: 20px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .info {
        margin: 0 20px 20px;
    }
}