/* Lorem Ipsum Generator Specific Styles */

/* Options Section */
.options-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    margin-bottom: 2rem;
}

.options-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.option-group {
    margin-bottom: 2rem;
}

.option-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 0.8rem;
    cursor: pointer;
    accent-color: #667eea;
}

.radio-label input[type="radio"]:checked + span,
.radio-label:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-weight: 600;
}

/* Range Slider */
input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #5568d3;
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
}

#amountValue {
    color: #667eea;
    font-weight: 700;
    font-size: 1.3rem;
}

#amountUnit {
    color: #666;
    font-weight: 500;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 1rem;
    cursor: pointer;
    accent-color: #667eea;
}

/* Generate Button */
.generate-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.generate-btn:active {
    transform: translateY(-1px);
}

/* Output Section */
.output-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
}

.copy-output-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-output-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.copy-output-btn.copied {
    background: #4caf50;
}

/* Text Output */
.text-output {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.text-output p {
    margin-bottom: 1.5rem;
}

.text-output p:last-child {
    margin-bottom: 0;
}

/* Scrollbar Styling */
.text-output::-webkit-scrollbar {
    width: 8px;
}

.text-output::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.text-output::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.text-output::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}

/* Info Section */
.info-section {
    background: #f0f4f8;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-top: 2rem;
}

.info-section h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-section ol,
.info-section p {
    margin-left: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.info-section ol li {
    margin-bottom: 0.5rem;
}

.info-section p {
    margin-left: 0;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .text-output {
        min-height: 200px;
        max-height: 400px;
        padding: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}