.srt-section {
    background: #b8a271;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.srt-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #383838;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.srt-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.srt-tab {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background: #cab37d;
    color: #383838;
}

.srt-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.srt-tab:hover:not(.active) {
    background: #d4c48c;
}

.srt-panel {
    display: none;
}

.srt-panel.active {
    display: block;
}

.srt-form-group {
    margin-bottom: 15px;
}

.srt-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #383838;
    margin-bottom: 8px;
}

.srt-form-group input,
.srt-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #b8a271;
    color: #383838;
    transition: border-color 0.3s;
}

.srt-form-group input:focus,
.srt-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.srt-form-group textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

.srt-form-group input::placeholder,
.srt-form-group textarea::placeholder {
    color: #666;
}

.srt-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.srt-option-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.srt-option-item label {
    font-size: 12px;
    color: #383838;
}

.srt-option-item input {
    width: 100%;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    background: #b8a271;
    color: #383838;
}

.srt-option-item input:focus {
    border-color: #667eea;
    outline: none;
}

.srt-button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.srt-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.srt-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.srt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.srt-btn-success {
    background: #4caf50;
    color: white;
}

.srt-btn-success:hover {
    background: #388e3c;
}

.srt-btn-info {
    background: #2196f3;
    color: white;
}

.srt-btn-info:hover {
    background: #1976d2;
}

.srt-btn-warning {
    background: #ff9800;
    color: white;
}

.srt-btn-warning:hover {
    background: #f57c00;
}

.srt-result-area {
    margin-top: 20px;
}

.srt-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.srt-result-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #383838;
    margin: 0;
}

.srt-result-stats {
    font-size: 12px;
    color: #666;
}

.srt-result-textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    font-size: 12px;
    line-height: 1.6;
    font-family: monospace;
    background: #b8a271;
    color: #383838;
}

.srt-result-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.srt-preview {
    margin-top: 15px;
    padding: 15px;
    background: #b3a380;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.srt-preview-item {
    padding: 8px 0;
    border-bottom: 1px solid #cab37d;
}

.srt-preview-item:last-child {
    border-bottom: none;
}

.srt-preview-time {
    font-size: 11px;
    color: #666;
    font-family: monospace;
}

.srt-preview-text {
    font-size: 13px;
    color: #383838;
    margin-top: 4px;
}

.srt-error {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
}

.srt-success {
    color: #4caf50;
    font-size: 12px;
    margin-top: 5px;
}

.srt-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s;
}

.srt-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.srt-notification.success {
    background: #4caf50;
}

.srt-notification.error {
    background: #f44336;
}

.srt-notification.info {
    background: #2196f3;
}

.srt-json-preview {
    font-family: monospace;
    font-size: 11px;
    color: #666;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #b3a380;
    border-radius: 6px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .srt-options {
        grid-template-columns: 1fr;
    }
    
    .srt-button-group {
        flex-direction: column;
    }
}