/* Underline Text Generator Styles */
.underline-tool-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.underline-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.underline-main-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
    background: linear-gradient(to right, #3498db, #9b59b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.underline-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.underline-tool-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.underline-input-container, .underline-output-container {
    margin-bottom: 2rem;
}

.underline-input-label, .underline-output-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.underline-input-field, .underline-output-field {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.underline-input-field:focus, .underline-output-field:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.underline-output-field {
    background-color: #f9f9f9;
}

.underline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.underline-style-selector {
    flex-grow: 1;
}

.underline-option-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #34495e;
}

.underline-style-dropdown {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
}

.underline-generate-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.underline-generate-button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.underline-output-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.underline-copy-button, .underline-clear-button {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.underline-copy-button {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.underline-copy-button:hover {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.underline-clear-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.underline-clear-button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.underline-preview-container {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid #3498db;
}

.underline-preview-title {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.3rem;
}

.underline-preview-area {
    min-height: 80px;
    padding: 1rem;
    background-color: white;
    border-radius: 6px;
    border: 1px dashed #bdc3c7;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Info Section Styles */
.underline-info-section {
    margin-bottom: 3rem;
}

.underline-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    position: relative;
}

.underline-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #9b59b6);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.underline-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.underline-info-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-top: 4px solid #3498db;
}

.underline-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.underline-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.underline-info-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.underline-info-text {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Content Section Styles */
.underline-content-section {
    margin-bottom: 3rem;
}

.underline-content-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.underline-content-decorative-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #9b59b6);
    margin: 0 auto 2rem;
    border-radius: 3px;
}

.underline-content-paragraph {
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.underline-feature-highlight {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.underline-feature-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.underline-feature-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    position: relative;
    z-index: 1;
}

.underline-feature-list {
    list-style-type: none;
    padding-left: 0;
    position: relative;
    z-index: 1;
}

.underline-feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    color: #34495e;
    line-height: 1.6;
}

.underline-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

.underline-feature-accent {
    color: #3498db;
    font-weight: 600;
}

/* FAQ Section Styles */
.underline-faq-section {
    margin-bottom: 3rem;
}

.underline-faq-main-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #2c3e50;
}

.underline-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.underline-faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.underline-faq-question {
    width: 100%;
    padding: 1.2rem 2rem 1.2rem 1.5rem;
    text-align: left;
    background: linear-gradient(135deg, #f5f7fa 0%, #dfe6ed 100%);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.underline-faq-question:hover {
    background: linear-gradient(135deg, #dfe6ed 0%, #f5f7fa 100%);
}

.underline-faq-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.underline-faq-question.active .underline-faq-icon {
    transform: translateY(-50%) rotate(45deg);
}

.underline-faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: white;
}

.underline-faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #7f8c8d;
    line-height: 1.7;
}

.underline-faq-item.active .underline-faq-answer {
    max-height: 500px;
    padding: 0;
}

/* Related Tools Section */
.underline-related-tools {
    margin-bottom: 3rem;
}

.underline-related-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.underline-related-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.underline-related-card:hover {
    transform: translateY(-5px);
}

.underline-related-tool-name {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #3498db;
}

.underline-related-tool-desc {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.underline-related-tool-link {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.underline-related-tool-link:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.4);
}

.underline-related-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.underline-related-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .underline-main-title {
        font-size: 2rem;
    }
    
    .underline-subtitle {
        font-size: 1rem;
    }
    
    .underline-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .underline-style-selector, .underline-generate-button {
        width: 100%;
    }
    
    .underline-output-actions {
        flex-direction: column;
    }
    
    .underline-copy-button, .underline-clear-button {
        width: 100%;
    }
    
    .underline-info-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .underline-tool-container {
        padding: 1.5rem 1rem;
    }
    
    .underline-tool-section {
        padding: 1.5rem;
    }
    
    .underline-main-title {
        font-size: 1.8rem;
    }
    
    .underline-section-title, .underline-content-title, .underline-faq-main-title, .underline-related-title {
        font-size: 1.5rem;
    }
}