* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    display: flex;
    overflow: hidden;
}

.left-panel {
    flex: 1;
    background-color: #f8f9fa;
    padding: 25px 20px;
    border-right: 1px solid #e9ecef;
    overflow-y: auto;
    max-height: 600px;
}

.right-panel {
    flex: 1;
    padding: 30px;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.description {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

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

.domain-label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.domain-options {
    display: flex;
    gap: 15px;
}

.domain-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.domain-option input {
    margin-right: 8px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-size: 14px;
    transition: border-color 0.3s;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

#generateBtn {
    background-color: #3498db;
    color: white;
    flex: 1;
    margin-right: 10px;
}

#generateBtn:hover {
    background-color: #2980b9;
}

#copyBtn {
    background-color: #2ecc71;
    color: white;
    flex: 1;
    margin-left: 10px;
}

#copyBtn:hover {
    background-color: #27ae60;
}

#copyBtn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.result-group {
    margin-top: 20px;
}

#resultLink {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    word-break: break-all;
    font-size: 14px;
    color: #2c3e50;
    text-decoration: none;
    transition: background-color 0.3s;
}

#resultLink:hover {
    background-color: #e9ecef;
}

.example {
    background-color: #f8f9fa;
    padding: 0;
}

.example-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.example-item {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.example-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.example-item-title {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 6px;
    font-size: 13px;
}

.example-content {
    font-size: 12px;
    color: #5a6c7d;
    line-height: 1.4;
    white-space: pre-line;
    background-color: white;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
    display: none;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    display: none;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 12px;
}

.domain-info {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-panel {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 20px 15px;
        max-height: 400px;
    }
    
    .right-panel {
        padding: 25px;
    }
}