/* APA Format Generator Specific Styles */
.tool-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 25px;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
}

.citation-preview {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.citation-example {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
}

.tool-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.input-section, .output-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.source-type-selector {
    margin-bottom: 25px;
}

.modern-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.modern-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.primary-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background-color: #2980b9;
}

.secondary-btn {
    background-color: #f1f1f1;
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: #e0e0e0;
}

.tertiary-btn {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tertiary-btn:hover {
    background-color: #f0f8ff;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.badge {
    background-color: #e1f0fa;
    color: #2980b9;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.citation-output {
    min-height: 200px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.citation-output.placeholder {
    color: #999;
    font-style: italic;
}

.formatted-preview {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
}

.preview-content {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.8;
}

.info-section {
    margin-top: 50px;
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-box h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: #e1f0fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #3498db;
    font-size: 1.5rem;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-card ul {
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.seo-content {
    margin-top: 50px;
}

.detailed-guide {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.detailed-guide h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.detailed-guide h3 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.detailed-guide p, .detailed-guide li {
    line-height: 1.7;
    margin-bottom: 15px;
}

.citation-example {
    background-color: #f5f5f5;
    padding: 15px;
    border-left: 4px solid #3498db;
    margin: 15px 0;
    font-family: 'Courier New', Courier, monospace;
}

.reference-examples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

.example {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.example h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.example p {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-interface {
        grid-template-columns: 1fr;
    }
    
    .form-fields {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .primary-btn, .secondary-btn, .tertiary-btn {
        width: 100%;
    }
}

/* Icons (using Unicode characters as fallback) */
.icon-info::before {
    content: "ℹ️";
}

.icon-academic::before {
    content: "🎓";
}

.icon-checklist::before {
    content: "✅";
}

.icon-tips::before {
    content: "💡";
}

.save-btn{
    width: 50px;
}

.icon-save::before {
    content: "💾";
}









/* CTA Buttons Styling */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.cta-secondary {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-secondary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.cta-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

/* Add icons to buttons using pseudo-elements */
#how-to-use-btn::before {
    content: "❓";
    font-size: 1.1em;
}

#examples-btn::before {
    content: "📚";
    font-size: 1.1em;
}

/* Responsive adjustments for buttons */
@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}