/* MOTOFORECAST SITE-WIDE COLORFUL DARK THEME */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: Arial, sans-serif; 
    background: linear-gradient(135deg, #0f1419 0%, #1a1a1a 50%, #2d1b69 100%); 
    color: #e0e0e0; 
    font-size: 16px; 
    line-height: 1.4; 
    min-height: 100vh;
}

.container { max-width: 98%; margin: 0 auto; padding: 6px; }

/* COLORFUL HEADER */
.header { 
    display: flex; 
    align-items: center; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%); 
    padding: 4px 12px; 
    margin-bottom: 8px; 
    border-radius: 6px; 
    height: 48px; 
    gap: 8px; 
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.logo { height: 32px; width: auto; }

.title { 
    color: #ffffff; 
    font-size: 24px; 
    font-weight: 700; 
    margin-right: 20px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.nav { display: flex; gap: 6px; flex: 1; }

.nav a { 
    background: rgba(255,255,255,0.15); 
    color: #ffffff; 
    text-decoration: none; 
    padding: 4px 8px; 
    border-radius: 4px; 
    font-size: 18px; 
    font-weight: 600;
    transition: all 0.3s; 
    border: 1px solid rgba(255,255,255,0.2);
}

.nav a:hover, .nav a.active { 
    background: rgba(255,255,255,0.25); 
    transform: translateY(-1px); 
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.auth { display: flex; align-items: center; gap: 6px; font-size: 18px; }

.username { 
    color: #ffffff; 
    max-width: 100px; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.logout { 
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%); 
    color: #ffffff; 
    text-decoration: none; 
    padding: 4px 8px; 
    border-radius: 4px; 
    font-size: 18px; 
    font-weight: 600;
    transition: all 0.3s; 
    border: 1px solid rgba(255,255,255,0.2);
}

.logout:hover { 
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%); 
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,107,107,0.4);
}

/* COLORFUL MESSAGES */
.message { 
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%); 
    color: #ffffff; 
    padding: 6px 12px; 
    border-radius: 6px; 
    margin-bottom: 6px; 
    font-size: 18px; 
    font-weight: 600;
    border-left: 4px solid #4caf50; 
    box-shadow: 0 2px 8px rgba(0, 200, 81, 0.3);
}

.error { 
    background: linear-gradient(135deg, #ff3547 0%, #b71c1c 100%); 
    color: #ffffff; 
    padding: 6px 12px; 
    border-radius: 6px; 
    margin-bottom: 6px; 
    font-size: 18px; 
    font-weight: 600;
    border-left: 4px solid #f44336; 
    box-shadow: 0 2px 8px rgba(255, 53, 71, 0.3);
}

.success-message {
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%); 
    color: #ffffff; 
    padding: 10px 15px; 
    border-radius: 6px; 
    margin-bottom: 10px; 
    font-size: 16px; 
    font-weight: 600;
    border-left: 4px solid #4caf50; 
    box-shadow: 0 2px 8px rgba(0, 200, 81, 0.3);
}

.error-message {
    background: linear-gradient(135deg, #ff3547 0%, #b71c1c 100%); 
    color: #ffffff; 
    padding: 10px 15px; 
    border-radius: 6px; 
    margin-bottom: 10px; 
    font-size: 16px; 
    font-weight: 600;
    border-left: 4px solid #f44336; 
    box-shadow: 0 2px 8px rgba(255, 53, 71, 0.3);
}

.warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%); 
    color: #ffffff; 
    padding: 10px 15px; 
    border-radius: 6px; 
    margin-bottom: 10px; 
    font-size: 16px; 
    font-weight: 600;
    border-left: 4px solid #f6ad55; 
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.3);
}

/* COLORFUL CONTENT SECTIONS */
.content { 
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); 
    border: 1px solid #667eea; 
    border-radius: 8px; 
    padding: 12px; 
    margin-bottom: 6px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 0 1px rgba(102, 126, 234, 0.2);
}

.section-title { 
    font-size: 22px; 
    font-weight: 700; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: #ffffff;
    margin-bottom: 8px; 
    padding: 8px 12px; 
    border-radius: 6px; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.section-header {
    font-size: 22px; 
    font-weight: 700; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: #ffffff;
    margin-bottom: 8px; 
    padding: 8px 12px; 
    border-radius: 6px; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-content {
    padding: 8px;
}

.section {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); 
    border: 1px solid #667eea; 
    border-radius: 8px; 
    margin-bottom: 6px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 0 1px rgba(102, 126, 234, 0.2);
}

/* COLORFUL POLLS */
.poll { 
    border-bottom: 1px solid #667eea; 
    padding: 8px; 
    margin-bottom: 6px; 
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 4px;
}

.poll:last-child { border-bottom: none; margin-bottom: 0; }

.poll-title { 
    font-size: 20px; 
    font-weight: 700; 
    color: #ffffff; 
    margin-bottom: 4px; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.poll-meta { 
    font-size: 14px; 
    color: #cbd5e0; 
    margin-bottom: 4px; 
    font-weight: 500;
}

.poll-actions { margin-top: 6px; }

.poll-header {
    background: linear-gradient(135deg, #374151 0%, #4a5568 100%);
    padding: 8px 12px;
    border-bottom: 1px solid #667eea;
}

/* COLORFUL BUTTONS */
.btn { 
    display: inline-block; 
    padding: 6px 12px; 
    font-size: 16px; 
    border: none; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    cursor: pointer; 
    margin-right: 6px; 
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(0,0,0,0.4); 
}

.btn-primary { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
}

.btn-primary:hover { 
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%); 
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-success { 
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%); 
    color: white; 
}

.btn-success:hover { 
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%); 
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.btn-info { 
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%); 
    color: white; 
}

.btn-info:hover { 
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%); 
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

.btn-warning { 
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%); 
    color: white; 
}

.btn-warning:hover { 
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%); 
    box-shadow: 0 6px 20px rgba(237, 137, 54, 0.4);
}

.btn-danger { 
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%); 
    color: white; 
}

.btn-danger:hover { 
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%); 
    box-shadow: 0 6px 20px rgba(245, 101, 101, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%); 
    color: white; 
}

.btn-secondary:hover { 
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%); 
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.action-btn {
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    margin-right: 4px;
    transition: all 0.3s;
    display: inline-block;
}

/* COLORFUL FORMS */
.form { 
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); 
    border: 1px solid #667eea; 
    border-radius: 8px; 
    padding: 12px; 
    margin-bottom: 6px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 0 1px rgba(102, 126, 234, 0.2);
}

.form-title { 
    font-size: 22px; 
    font-weight: 700; 
    color: #ffffff; 
    margin-bottom: 8px; 
    padding-bottom: 4px; 
    border-bottom: 2px solid #667eea; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.question { 
    margin-bottom: 8px; 
    padding: 8px; 
    border: 1px solid #667eea; 
    border-radius: 6px; 
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.question-text { 
    font-size: 18px; 
    font-weight: 600; 
    color: #ffffff; 
    margin-bottom: 4px; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.form-control { 
    width: 100%; 
    padding: 6px 8px; 
    font-size: 16px; 
    border: 2px solid #4a5568; 
    border-radius: 6px; 
    background: #1a202c; 
    color: #e2e8f0; 
    height: 40px; 
    transition: all 0.3s;
}

.form-control:focus { 
    outline: none; 
    border-color: #667eea; 
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    background: #2d3748;
}

.radio-group { display: flex; gap: 8px; font-size: 16px; flex-wrap: wrap; }

.radio-group label { 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    color: #e2e8f0; 
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%); 
    padding: 6px 8px; 
    border-radius: 6px; 
    border: 1px solid #667eea; 
    cursor: pointer; 
    transition: all 0.3s; 
    font-weight: 500;
}

.radio-group label:hover { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.radio-group input[type="radio"] { width: 18px; height: 18px; }

.submit-btn { 
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%); 
    color: white; 
    border: none; 
    padding: 8px 16px; 
    font-size: 18px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 600; 
    margin-top: 8px; 
    transition: all 0.3s; 
    border: 1px solid rgba(255,255,255,0.2);
}

.submit-btn:hover { 
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.login-prompt { 
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%); 
    border: 1px solid #f6ad55; 
    border-radius: 6px; 
    padding: 8px; 
    text-align: center; 
    margin: 6px 0; 
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.3);
}

.login-prompt-text { 
    font-size: 16px; 
    color: #ffffff; 
    margin-bottom: 4px; 
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.no-polls { 
    text-align: center; 
    color: #cbd5e0; 
    padding: 20px; 
    font-size: 18px; 
    font-weight: 500;
}

/* TABLE STYLING */
table { 
    width: 100%; 
    border-collapse: collapse; 
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

th { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: #ffffff; 
    padding: 12px 8px; 
    text-align: left; 
    font-weight: 700; 
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

td { 
    padding: 8px; 
    border-bottom: 1px solid #4a5568; 
    color: #e2e8f0; 
    font-size: 14px;
}

tr:nth-child(even) { 
    background: rgba(102, 126, 234, 0.1); 
}

tr:hover { 
    background: rgba(102, 126, 234, 0.2); 
}

/* ADMIN PANEL STYLING */
.admin-section { 
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); 
    border: 2px solid #667eea; 
    border-radius: 8px; 
    padding: 15px; 
    margin-bottom: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.admin-title { 
    font-size: 24px; 
    font-weight: 700; 
    color: #ffffff; 
    margin-bottom: 10px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-header {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); 
    border: 1px solid #667eea; 
    border-radius: 8px; 
    padding: 20px; 
    margin-bottom: 20px; 
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-header h1 {
    color: #ffffff;
    font-size: 32px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card { 
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%); 
    border: 1px solid #4a5568; 
    border-radius: 8px; 
    padding: 15px; 
    margin-bottom: 15px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    overflow: hidden;
}

.form-group { 
    margin-bottom: 15px; 
}

.form-group label { 
    display: block; 
    font-weight: 600; 
    color: #e2e8f0; 
    margin-bottom: 5px; 
    font-size: 14px;
}

.form-group input, 
.form-group textarea, 
.form-group select { 
    width: 100%; 
    padding: 8px 12px; 
    font-size: 14px; 
    border: 2px solid #4a5568; 
    border-radius: 6px; 
    background: #1a202c; 
    color: #e2e8f0; 
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus { 
    outline: none; 
    border-color: #667eea; 
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    background: #2d3748;
}

.page-header p {
    color: #cbd5e0;
    font-size: 1.1rem;
}

/* STATUS BADGES */
.status-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 12px;
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 6px;
}

.status-draft { background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%); }
.status-published { background: linear-gradient(135deg, #48bb78 0%, #38a169 100%); }
.status-upcoming { background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%); }
.status-live { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); }
.status-completed { background: linear-gradient(135deg, #6b7280 0%, #374151 100%); }

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    body { font-size: 14px; }
    .header { height: 40px; padding: 3px 8px; }
    .logo { height: 28px; }
    .title { font-size: 20px; }
    .nav a, .auth { font-size: 15px; }
    .poll-title, .form-title, .section-title { font-size: 18px; }
    .question-text { font-size: 16px; }
    .btn { font-size: 14px; padding: 4px 8px; }
    .form-control { height: 36px; font-size: 14px; }
    .radio-group input[type="radio"] { width: 16px; height: 16px; }
    .radio-group { flex-direction: column; gap: 4px; }
    .radio-group label { justify-content: flex-start; }
}

/* COLLAPSIBLE SECTIONS */
.collapsible-section {
    margin-bottom: 15px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, #4a5568 0%, #5a6578 100%);
    border-bottom: 1px solid #667eea;
    transition: all 0.3s ease;
}

.section-header:hover {
    background: linear-gradient(135deg, #5a6578 0%, #6a7588 100%);
}

.section-header-content {
    flex: 1;
}

.section-header h2 {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.section-header p {
    margin: 0;
    color: #cbd5e0;
    font-size: 14px;
    line-height: 1.4;
}

.section-arrow {
    font-size: 16px;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 10px;
    margin-top: 2px;
}

.section-content {
    padding: 0 15px;
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.collapsible-section.collapsed .section-content {
    max-height: 0;
    padding: 0 15px;
    overflow: hidden;
}

.collapsible-section.collapsed .section-arrow {
    transform: rotate(-90deg);
}

/* SECTION STYLES (for view_polls.php) */
.section {
    margin-bottom: 15px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow: hidden;
}

.section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, #4a5568 0%, #5a6578 100%);
    border-bottom: 1px solid #667eea;
    transition: all 0.3s ease;
}

.section .section-header:hover {
    background: linear-gradient(135deg, #5a6578 0%, #6a7588 100%);
}

.section .section-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    flex: 1;
}

.section .section-arrow {
    font-size: 16px;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.section .section-content {
    padding: 15px;
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.section.collapsed .section-content {
    max-height: 0;
    padding: 0 15px;
    overflow: hidden;
}

.section.collapsed .section-arrow {
    transform: rotate(-90deg);
}

/* POLL TABLE LAYOUT */
.polls-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px;
    margin: -10px; /* Offset the border-spacing */
    table-layout: fixed; /* Force equal column widths */
}

.polls-table td {
    width: 50%;
    vertical-align: top;
    padding: 0;
    box-sizing: border-box;
}

.polls-table .poll-card {
    margin-bottom: 0;
    height: 100%;
    width: 100%;
    display: block; /* Ensure poll cards behave as block elements */
}

/* Ensure single poll takes full width when alone in a row */
.polls-table td.single-poll {
    width: 100%;
}

.polls-table td.single-poll .poll-card {
    width: 100%;
}

/* COLLAPSIBLE POLL CARDS */
.poll-card {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border: 1px solid #4a5568;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Override margin for poll cards in table */
.polls-table .poll-card {
    margin-bottom: 0 !important;
}

.poll-card:hover {
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.poll-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.poll-header:hover {
    background: linear-gradient(135deg, #4a5568 0%, #5a6578 100%);
}

.poll-header-content {
    flex: 1;
}

.poll-arrow {
    font-size: 14px;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 10px;
    margin-top: 5px;
}

.poll-content {
    padding: 15px;
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.poll-card.collapsed .poll-content {
    max-height: 0;
    padding: 0 15px;
    overflow: hidden;
}

.poll-card.collapsed .poll-arrow {
    transform: rotate(-90deg);
}

/* POLL QUESTIONS STYLING */
.questions-section {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.question-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    transition: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    padding-bottom: 15px;
}

.question-item:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(102, 126, 234, 0.2);
}

.question-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.question-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.question-content {
    flex: 1;
}

.question-item .question-text {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.question-type {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 8px;
    box-shadow: 0 1px 3px rgba(240, 147, 251, 0.3);
    vertical-align: middle;
}

.question-options {
    font-size: 12px;
    color: #a8b2d1;
    font-style: italic;
    margin-top: 4px;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
    border-left: 3px solid rgba(102, 126, 234, 0.4);
}

.question-answer {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    margin-top: 4px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    border-left: 3px solid #10b981 !important;
}

.poll-stats-inline {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-inline-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-icon {
    font-size: 14px;
}

.stat-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}