* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

h1 {
    color: #1a73e8;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Quote Selector Styles */
.quote-selector {
    margin-bottom: 2rem;
}

.selector-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #1a73e8;
    background-color: white;
    color: #1a73e8;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #f0f7ff;
}

.tab-btn.active {
    background-color: #1a73e8;
    color: white;
}

#quote-container {
    margin-bottom: 2rem;
}

.quote {
    background-color: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 4px solid #1a73e8;
}

.quote.buddha {
    border-left: 4px solid #ff9800;
    background-color: #fff8e1;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: #333;
}

.quote-character {
    font-style: italic;
    color: #666;
    text-align: right;
    font-size: 0.9rem;
}

.quote-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    float: right;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.loading {
    text-align: center;
    color: #666;
    font-style: italic;
}

#generate-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 3rem;
}

#generate-btn:hover {
    background-color: #1557b0;
}

.error-message {
    color: #dc3545;
    text-align: center;
    padding: 1rem;
    background-color: #f8d7da;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* FAQ Section Styles */
.faq-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.faq-section h2 {
    color: #1a73e8;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a73e8;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1rem;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .selector-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .faq-section h2 {
        font-size: 1.4rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
} 