/* HTML Washer Simple - Main Styles */
.html-washer-simple-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

/* Header */
.hws-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.hws-header h2 {
    color: #2d3748;
    margin: 0 0 10px 0;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hws-header h2 i {
    color: #4299e1;
}

.hws-header p {
    color: #718096;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Main Layout */
.hws-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (min-width: 992px) {
    .hws-main {
        grid-template-columns: 1fr 1fr;
    }
}

/* Sections */
.hws-input-section,
.hws-output-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.hws-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
}

.hws-section-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hws-count {
    background: #edf2f7;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
}

/* Textareas */
.hws-textarea {
    width: 100%;
    height: 250px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    background: #fafafa;
    color: #2d3748;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.hws-textarea:focus {
    outline: none;
    border-color: #4299e1;
    background: white;
}

.hws-output-wrapper {
    position: relative;
}

.hws-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 15px;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    z-index: 10;
}

.hws-copy-btn:hover {
    background: #38a169;
}

/* Options */
.hws-options {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.hws-options h3 {
    margin: 0 0 15px 0;
    color: #2d3748;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hws-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.hws-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.hws-option:hover {
    background: #edf2f7;
}

.hws-option input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.hws-option span {
    font-size: 14px;
    color: #2d3748;
    font-weight: 500;
}

/* Buttons */
.hws-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hws-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    min-width: 140px;
}

.hws-btn-primary {
    background: #4299e1;
    color: white;
}

.hws-btn-primary:hover {
    background: #3182ce;
}

.hws-btn-secondary {
    background: #718096;
    color: white;
}

.hws-btn-secondary:hover {
    background: #4a5568;
}

.hws-btn-tertiary {
    background: #9f7aea;
    color: white;
}

.hws-btn-tertiary:hover {
    background: #805ad5;
}

/* Stats */
.hws-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.hws-stat {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.hws-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.hws-stat-label {
    font-size: 12px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.hws-footer {
    text-align: center;
    padding: 15px;
    background: #ebf8ff;
    border-radius: 6px;
    color: #2b6cb0;
    font-size: 14px;
}

.hws-footer i {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .html-washer-simple-container {
        padding: 15px;
    }
    
    .hws-header h2 {
        font-size: 24px;
    }
    
    .hws-textarea {
        height: 200px;
    }
    
    .hws-btn {
        min-width: 100%;
    }
    
    .hws-options-grid {
        grid-template-columns: 1fr;
    }
}