/* Online Notepad Tool Styles */
.notepad-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.notepad-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.notepad-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.notepad-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.notepad-tool {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.notepad-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.notepad-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notepad-save-btn {
    background-color: #4CAF50;
    color: white;
}

.notepad-save-btn:hover {
    background-color: #3e8e41;
}

.notepad-clear-btn {
    background-color: #f44336;
    color: white;
}

.notepad-clear-btn:hover {
    background-color: #d32f2f;
}

.notepad-download-btn {
    background-color: #2196F3;
    color: white;
}

.notepad-download-btn:hover {
    background-color: #0b7dda;
}

.notepad-copy-btn {
    background-color: #ff9800;
    color: white;
}

.notepad-copy-btn:hover {
    background-color: #e68a00;
}

.notepad-word-count {
    margin-left: auto;
    font-size: 0.9rem;
    color: #666;
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.notepad-textarea {
    width: 100%;
    min-height: 300px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: border 0.3s;
    margin-bottom: 15px;
}

.notepad-textarea:focus {
    border-color: #6e8efb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

.notepad-output-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notepad-copy-status {
    color: #4CAF50;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.notepad-copy-status.visible {
    opacity: 1;
}

/* Info Boxes */
.notepad-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.notepad-info-box {
    background: white;
    padding: 25px;
    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;
}

.notepad-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.notepad-info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.notepad-info-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #444;
}

.notepad-info-box p {
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.notepad-content {
    margin-bottom: 50px;
}

.notepad-content-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #444;
    position: relative;
}

.notepad-decorative-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.notepad-content-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

.notepad-feature-highlight {
    background-color: #f9f9ff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 5px solid #6e8efb;
}

.notepad-feature-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #444;
}

.notepad-feature-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.notepad-feature-list li {
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.notepad-feature-icon {
    font-size: 1.2rem;
}

.notepad-use-cases {
    margin-bottom: 40px;
}

.notepad-use-cases h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #444;
}

.notepad-use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.notepad-use-case {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.notepad-use-case:hover {
    transform: translateY(-5px);
}

.notepad-use-case-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.notepad-use-case p {
    color: #555;
    font-weight: 500;
}

.notepad-tip {
    background-color: #fffaf0;
    border-left: 5px solid #ff9800;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
}

.notepad-tip h3 {
    margin-top: 0;
    color: #e65100;
}

.notepad-tip p {
    margin-bottom: 0;
}

.notepad-internal-link {
    color: #6e8efb;
    font-weight: 600;
    text-decoration: none;
}

.notepad-internal-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.notepad-faq {
    margin-bottom: 50px;
}

.notepad-faq-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #444;
}

.notepad-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.notepad-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.notepad-faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.notepad-faq-question:hover {
    background: #f9f9f9;
}

.notepad-faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.notepad-faq-question.active .notepad-faq-icon {
    transform: rotate(45deg);
}

.notepad-faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #f9f9f9;
}

.notepad-faq-answer p {
    margin: 0;
    padding: 20px 25px;
    color: #555;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notepad-title {
        font-size: 2.2rem;
    }
    
    .notepad-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .notepad-word-count {
        margin-left: 0;
        text-align: center;
    }
    
    .notepad-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .notepad-feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .notepad-title {
        font-size: 1.8rem;
    }
    
    .notepad-subtitle {
        font-size: 1rem;
    }
    
    .notepad-tool {
        padding: 15px;
    }
    
    .notepad-content-title, .notepad-faq-title {
        font-size: 1.6rem;
    }
}