/* ─── Padel Poll Frontend Styles ─── */
.padel-poll-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 24px 28px;
    max-width: 500px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.padel-poll-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 18px 0;
    line-height: 1.4;
}

.padel-poll-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 2px solid #e8e8ec;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.padel-poll-option:hover {
    border-color: #4f46e5;
    background: #f0f0ff;
}

.padel-poll-option input[type="radio"],
.padel-poll-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4f46e5;
    flex-shrink: 0;
    cursor: pointer;
}

.padel-poll-label {
    font-size: 0.95rem;
    color: #333;
    flex: 1;
}

.padel-poll-other {
    flex-wrap: wrap;
}

.padel-poll-other .padel-poll-label {
    flex: 0 0 auto;
    margin-right: 8px;
}

.padel-poll-custom-input {
    flex: 1;
    min-width: 150px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
}

.padel-poll-custom-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.padel-poll-submit {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 13px 24px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.padel-poll-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3);
}

.padel-poll-submit:active {
    transform: translateY(0);
}

.padel-poll-thanks {
    text-align: center;
    padding: 20px 10px;
    color: #16a34a;
    font-size: 1rem;
}

.padel-poll-thanks p {
    margin: 4px 0;
}

.padel-poll-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.padel-poll-message.success {
    background: #dcfce7;
    color: #166534;
}

.padel-poll-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ─── Admin Dashboard Styles ─── */
.padel-poll-admin-wrap {
    max-width: 1100px;
    margin: 20px 0;
}

.padel-poll-admin-wrap h1 {
    color: #1a1a2e;
    margin-bottom: 20px;
}

.padel-poll-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.padel-poll-stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    border-left: 4px solid #4f46e5;
}

.padel-poll-stat-card h3 {
    margin: 0 0 6px 0;
    font-size: 0.85rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.padel-poll-stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.padel-poll-section {
    background: #fff;
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 22px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.padel-poll-section h2 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.padel-poll-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.padel-poll-bar-label {
    width: 180px;
    font-size: 0.9rem;
    color: #374151;
    flex-shrink: 0;
}

.padel-poll-bar-track {
    flex: 1;
    height: 24px;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 12px;
}

.padel-poll-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 2px;
}

.padel-poll-bar-count {
    width: 50px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4f46e5;
}

.padel-poll-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.padel-poll-table th,
.padel-poll-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.padel-poll-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.padel-poll-table tr:hover td {
    background: #f9fafb;
}

.padel-poll-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.padel-poll-btn:hover {
    background: #4338ca;
    color: #fff;
}

.padel-poll-settings-form label {
    display: block;
    margin: 14px 0 6px 0;
    font-weight: 600;
    color: #374151;
}

.padel-poll-settings-form input[type="text"],
.padel-poll-settings-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
}

.padel-poll-settings-form textarea {
    min-height: 120px;
    font-family: monospace;
}

.padel-poll-settings-form .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.padel-poll-settings-form .checkbox-row input {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
}
