/* Общие стили подключены через common.css */

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}

.tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.tab:hover {
    color: #2d3748;
    background: #f7fafc;
}

.tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.panel {
    display: none;
}

.panel.active {
    display: block;
}

.hidden {
    display: none;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.result {
    margin-top: 24px;
    padding: 20px;
    background: #f0fff4;
    border: 2px solid #9ae6b4;
    border-radius: 8px;
    animation: slideUp 0.4s ease-out;
}

.result-row {
    margin-bottom: 16px;
}

.result-row:last-of-type {
    margin-bottom: 0;
}

.result-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #2f855a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.alias-container {
    display: flex;
    gap: 8px;
}

.alias-input {
    flex: 1;
    padding: 12px 16px;
    background: white;
    border: 2px solid #9ae6b4;
    border-radius: 8px;
    font-size: 16px;
    color: #2d3748;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    padding: 12px 24px;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #38a169;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(72, 187, 120, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: #22543d;
}

.link-more {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
}

.link-more:hover {
    color: #764ba2;
    text-decoration: underline;
}

.error {
    margin-top: 24px;
}

@media (max-width: 640px) {
    .tabs {
        flex-direction: column;
    }

    .tab {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab.active {
        border-left-color: #667eea;
        border-bottom-color: transparent;
    }

    .alias-container {
        flex-direction: column;
    }

    .copy-btn {
        width: 100%;
    }
}
