/*
 * CSS for Generator Tools
 * Add this to your theme's style.css or enqueue it separately.
 */

/* Main Layout & Container */
.generator-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    padding: 20px;
}

.generator-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.generator-content {
    padding: 30px 40px;
    text-align: center;
}

/* Header */
.generator-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #1c1e21;
    margin-bottom: 10px;
}

.generator-header p {
    font-size: 1.1rem;
    color: #606770;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Result Area */
.generator-result {
    margin-bottom: 30px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Controls */
.generator-controls button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.generator-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* --- Tool-Specific Styles --- */

/* Yes/No Generator */
.yes-no-result {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}
.yes-no-result.color-yes {
    background: linear-gradient(45deg, #28a745, #218838);
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.5);
}
.yes-no-result.color-no {
    background: linear-gradient(45deg, #dc3545, #c82333);
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.5);
}

/* Bingo Card Generator */
.bingo-card {
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.bingo-card th, .bingo-card td {
    width: 80px;
    height: 80px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 1.5rem;
    font-weight: 600;
}
.bingo-card th {
    background-color: #4a90e2;
    color: #fff;
    font-size: 2.5rem;
}
.bingo-card td {
    background-color: #f9f9f9;
}
.bingo-card .free-space {
    color: #e94e77;
    font-weight: 700;
    font-size: 1.2rem;
}


/* --- Other Generators Section --- */
.other-generators {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}
.other-generators h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}
.generator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.generator-card {
    display: block;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}
.generator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #007bff;
}
.generator-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .generator-content {
        padding: 20px;
    }
    .generator-header h1 {
        font-size: 2rem;
    }
    .bingo-card th, .bingo-card td {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    .bingo-card th {
        font-size: 2rem;
    }
}
