/* Main Container */
.dr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section */
.dr-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dr-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.dr-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Tool Container */
.dr-tool-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.dr-tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dr-tool-header h2 {
    font-size: 1.5rem;
    color: #444;
    margin: 0;
}

.dr-tool-actions {
    display: flex;
    gap: 10px;
}

/* Textareas */
.dr-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.dr-textarea:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

/* Buttons */
.dr-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dr-primary-btn {
    background-color: #6e8efb;
    color: white;
}

.dr-primary-btn:hover {
    background-color: #5a7df5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

.dr-secondary-btn {
    background-color: #f0f2f5;
    color: #555;
}

.dr-secondary-btn:hover {
    background-color: #e1e5eb;
}

.dr-btn-icon {
    font-weight: bold;
}

/* Options Section */
.dr-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.dr-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}

.dr-option input {
    cursor: pointer;
}

/* Action Section */
.dr-action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#dr-process-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.dr-stats {
    display: flex;
    gap: 25px;
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 8px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.dr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.dr-stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.dr-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #6e8efb;
}

/* Info Sections */
.dr-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.dr-info-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dr-info-title {
    font-size: 1.3rem;
    color: #444;
    margin-top: 0;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.dr-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6e8efb, #a777e3);
    border-radius: 3px;
}

.dr-info-text {
    line-height: 1.6;
    color: #555;
}

.dr-info-list {
    padding-left: 20px;
    line-height: 1.8;
}

.dr-info-list li {
    margin-bottom: 8px;
}

.dr-use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dr-use-case {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #6e8efb;
}

.dr-use-case h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #444;
}

.dr-use-case p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.dr-steps {
    padding-left: 20px;
    line-height: 1.8;
}

.dr-steps li {
    margin-bottom: 10px;
}

/* Special Info Box Styles */
.dr-info-highlight {
    background: linear-gradient(135deg, rgba(110, 142, 251, 0.1), rgba(167, 119, 227, 0.1));
    border-left: 4px solid #6e8efb;
}

.dr-info-tip {
    background: #f0f7ff;
    border-left: 4px solid #4dabf7;
}

.dr-info-tip .dr-info-title::after {
    background: linear-gradient(90deg, #4dabf7, #339af0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dr-title {
        font-size: 2rem;
    }
    
    .dr-subtitle {
        font-size: 1rem;
    }
    
    .dr-tool-container {
        padding: 15px;
    }
    
    .dr-stats {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .dr-stat {
        min-width: auto;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .dr-tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dr-tool-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .dr-options {
        flex-direction: column;
        gap: 10px;
    }
}