/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* =================================================
   BINGOPREMIO – MODERN ADMIN UI
   Inspired by Apple / ChatGPT / SaaS
   ================================================= */

:root {
    --bp-bg: #f7f8fa;
    --bp-card-bg: #ffffff;
    --bp-border: #e5e7eb;
    --bp-text: #111827;
    --bp-muted: #6b7280;

    --bp-primary: #2563eb;
    --bp-primary-hover: #1d4ed8;

    --bp-radius: 16px;
    --bp-radius-sm: 12px;

    --bp-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Layout */
.bp-admin-wrap {
    max-width: 1200px;
    padding: 32px 24px;
    background: var(--bp-bg);
}

.bp-page-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--bp-text);
}

/* Card */
.bp-card {
    background: var(--bp-card-bg);
    border-radius: var(--bp-radius);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--bp-shadow);
    border: 1px solid var(--bp-border);
}

.bp-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--bp-text);
}

/* Grid */
.bp-grid {
    display: grid;
    gap: 24px;
}

.bp-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Form */
.bp-form {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
}

.bp-field {
    display: flex;
    flex-direction: column;
}

.bp-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bp-muted);
    margin-bottom: 6px;
}

/* Inputs */
.bp-form input,
.bp-form select {
    appearance: none;
    border-radius: var(--bp-radius-sm);
    border: 1px solid var(--bp-border);
    padding: 14px 16px;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s ease;
}

.bp-form input::placeholder {
    color: #9ca3af;
}

/* Focus effect (ChatGPT-like) */
.bp-form input:focus,
.bp-form select:focus {
    outline: none;
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* Actions */
.bp-actions {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

/* Buttons */
.bp-btn {
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bp-btn-primary {
    background: var(--bp-primary);
    color: #fff;
}

.bp-btn-primary:hover {
    background: var(--bp-primary-hover);
    transform: translateY(-1px);
}

/* Sorteos list */
.bp-sorteo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--bp-border);
}

.bp-sorteo-row:last-child {
    border-bottom: none;
}

.bp-sorteo-info h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--bp-text);
    display: flex;
    align-items: center;
}

.bp-meta {
    font-size: 14px;
    color: var(--bp-muted);
    margin-top: 4px;
}

/* Inline form */
.bp-inline-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bp-inline-form select {
    min-width: 150px;
}

/* Badges */
.bp-badge {
    margin-left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.bp-badge-programado {
    background: #e5e7eb;
    color: #374151;
}

.bp-badge-abierto {
    background: #dcfce7;
    color: #166534;
}

.bp-badge-cerrado {
    background: #ffedd5;
    color: #9a3412;
}

.bp-badge-en_juego {
    background: #dbeafe;
    color: #1e40af;
}

.bp-badge-finalizado {
    background: #f3e8ff;
    color: #6b21a8;
}

/* Empty */
.bp-empty {
    font-size: 15px;
    color: var(--bp-muted);
    font-style: italic;
}

.bp-frontend-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.bp-carton {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.bp-carton h3 {
    margin-bottom: 15px;
}

.bp-carton-table {
    width: 100%;
    border-collapse: collapse;
}

.bp-carton-table td {
    width: 20%;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    background: #f3f4f6;
    font-weight: 600;
    font-size: 16px;
    transition: all .2s ease;
}

.bp-carton-table td.marcado {
    background: #2563eb;
    color: #fff;
    transform: scale(1.05);
}
