/* Bible Chatbot - Big Button Styles */

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

/* Bible Text Area */
.bible-text-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 3px solid #e0e0e0;
}

.bible-text-section h2 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.8em;
}

#bibleText {
    background: white;
    border: 2px solid #4a90e2;
    border-radius: 10px;
    padding: 15px;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

/* Verse Selection Area */
.verse-selection {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 3px solid #e0e0e0;
}

.verse-selection h2 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.8em;
}

/* BIG BUTTON STYLES */
.section-label {
    color: #2a5298;
    font-size: 1.3em;
    margin: 15px 0 10px 0;
    font-weight: bold;
}

.big-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.big-button {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 20px 15px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.big-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6);
    background: linear-gradient(135deg, #357abd 0%, #2868a8 100%);
}

.big-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.4);
}

.big-button.selected {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.big-button.selected:hover {
    background: linear-gradient(135deg, #219a52 0%, #1e8449 100%);
}

/* Smaller buttons for chapters/verses */
.small-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.small-button {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(155, 89, 182, 0.4);
    min-height: 50px;
}

.small-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.6);
    background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
}

.small-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.4);
}

.small-button.selected {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.4);
}

/* Question/Answer Section */
.qa-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 3px solid #e0e0e0;
    grid-column: 1 / -1;
}

.qa-section h2 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #2a5298;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

#questionInput {
    width: 100%;
    padding: 15px;
    border: 2px solid #4a90e2;
    border-radius: 10px;
    font-size: 1.1em;
    background: white;
}

#questionInput:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.4);
}

#answerDisplay {
    background: white;
    border: 2px solid #27ae60;
    border-radius: 10px;
    padding: 20px;
    min-height: 100px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-top: 15px;
}

.answer-box {
    background: #e8f5e9;
    border-left: 5px solid #27ae60;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.verse-reference {
    font-weight: bold;
    color: #1e3c72;
    font-size: 1.2em;
}

.clear-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.4);
    margin-top: 10px;
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.6);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .big-buttons-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .big-button {
        font-size: 0.9em;
        padding: 15px 10px;
        min-height: 60px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #357abd 0%, #2868a8 100%);
}