/* 
 * MeetingChallenge Oylama Sistemi - Ana Stil Dosyası
 * Modern, Responsive Tasarım
 */

/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Renk paleti - Tek Beyaz Tema */
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --secondary-color: #6c757d;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --body-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-color: #1e293b;
    --border-color: rgba(102, 126, 234, 0.2);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --glass-effect: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;

    /* Border radius */
    --border-radius-sm: 0.375rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
}



/* Login sayfası özel form stilleri */
.login-card .form-check {
    background: rgba(102, 126, 234, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem;
    margin: 1rem 0;
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.login-card .form-check-label {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
}



/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background: var(--body-bg);
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Global page background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
    z-index: -1;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    background-clip: text;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Layout Improvements */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -var(--spacing-sm);
}

.col {
    flex: 1;
    padding: 0 var(--spacing-sm);
}

.col-12 {
    flex: 0 0 100%;
}

.col-6 {
    flex: 0 0 50%;
}

.col-4 {
    flex: 0 0 33.333333%;
}

.col-3 {
    flex: 0 0 25%;
}

/* Enhanced Header */
.header {
    background: var(--primary-gradient);
    backdrop-filter: blur(20px);
    color: white;
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Remove sticky positioning on mobile devices */
@media (max-width: 768px) {
    .header {
        position: relative;
    }
}

/* Header auto-hide for mobile */
@media (max-width: 768px) {
    .header.header-hidden {
        transform: translateY(-100%);
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
}

.nav-link::after {
    display: none;
}

/* Enhanced Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: none;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: linear-gradient(135deg, var(--light-color), rgba(255, 255, 255, 0.8));
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    font-weight: 600;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    background: var(--light-color);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-md) var(--spacing-lg);
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-success {
    background: var(--success-gradient);
    color: white;
}

.btn-danger {
    background: var(--danger-gradient);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    min-width: 80px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 150px;
}

.btn-block {
    width: 100%;
}



/* Enhanced Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: #1e293b;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--secondary-color);
    opacity: 0.7;
}

/* Form Check (Checkbox/Radio) Styles */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-sm);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.form-check-input:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.form-check-label {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
    transition: var(--transition);
}

.form-check-label:hover {
    color: var(--primary-color);
}

/* Enhanced Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid;
    position: relative;
    backdrop-filter: blur(10px);
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-left-color: var(--success-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-left-color: var(--danger-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border-left-color: var(--warning-color);
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info-color);
    border-left-color: var(--info-color);
}

/* Enhanced Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    color: #1e293b;
}

/* Login kartı içindeki tüm metin elementleri için açık tema renkleri */
.login-card .form-label {
    color: #1e293b !important;
    font-weight: 600;
}

.login-card .form-control {
    color: #1e293b !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(102, 126, 234, 0.2) !important;
}

.login-card .form-control:focus {
    color: #1e293b !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.login-card .form-control::placeholder {
    color: #64748b !important;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b !important;
    background: none !important;
}

.login-subtitle {
    color: #64748b !important;
    font-size: 1rem;
}

/* Enhanced Voting */
.voting-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Genel sayfa container'ı */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.page-container .container {
    max-width: 1000px;
    width: 100%;
}

.poll-card {
    margin-bottom: 2rem;
}

.poll-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.poll-description {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

.poll-option {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.poll-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.poll-option:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.poll-option:hover::before {
    transform: scaleY(1);
}

.poll-option.selected {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.poll-option.selected::before {
    transform: scaleY(1);
}

.poll-option-text {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.poll-option-description {
    font-size: 0.875rem;
    color: var(--secondary-color);
    opacity: 0.8;
    line-height: 1.4;
}

/* Enhanced Results */
.result-item {
    margin-bottom: 1rem;
}

.result-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-option {
    font-weight: 500;
    color: var(--text-color);
    flex: 1;
}

.result-percentage {
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 1rem;
}

.result-bar {
    background: var(--light-color);
    border-radius: var(--border-radius);
    height: 2rem;
    position: relative;
    overflow: hidden;
    margin: 0.5rem 0;
}

.result-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    min-width: 58px !important;
}

.result-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Loading Animations */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loading button states */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn .spinner {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: white;
    margin-right: 8px;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        color: rgba(0, 0, 0, 0);
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    40% {
        color: var(--text-color);
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    60% {
        text-shadow: .25em 0 0 var(--text-color), .5em 0 0 rgba(0, 0, 0, 0);
    }

    80%,
    100% {
        text-shadow: .25em 0 0 var(--text-color), .5em 0 0 var(--text-color);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
        max-width: 100%;
    }

    .login-container {
        padding: var(--spacing-md);
    }

    .login-card {
        padding: 1.5rem;
        margin: var(--spacing-sm);
    }

    .nav {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-item {
        width: 100%;
    }

    .header {
        padding: var(--spacing-sm) 0;
    }

    .header .container {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }

    .logo {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-xs);
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .poll-title {
        font-size: 1.125rem !important;
        margin-bottom: var(--spacing-sm);
    }

    .col-md-12 {
        flex: 0 0 100% !important;
    }

    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
    }

    /* Voting specific mobile optimizations */
    .voting-container {
        padding: var(--spacing-sm) 0;
    }

    .poll-card {
        margin-bottom: var(--spacing-md);
        border-radius: var(--border-radius);
    }

    .card-header {
        padding: var(--spacing-md);
    }

    .card-body {
        padding: var(--spacing-md);
    }

    .card-footer {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    /* Poll options mobile optimization */
    .poll-options {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .poll-option {
        width: 100% !important;
        padding: var(--spacing-md) !important;
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        min-height: 3.5rem;
        border-radius: var(--border-radius) !important;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .poll-option-text {
        font-weight: 500;
        margin-bottom: var(--spacing-xs);
        font-size: 0.95rem;
    }

    .poll-option-description {
        font-size: 0.85rem;
        opacity: 0.8;
        line-height: 1.3;
    }

    /* Button optimizations */
    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        min-height: 3rem;
        border-radius: var(--border-radius);
        margin-bottom: var(--spacing-sm);
    }

    .btn-vote {
        margin-top: var(--spacing-md);
        font-size: 1.05rem;
        min-height: 3.25rem;
    }

    /* Results mobile optimization */
    .result-item {
        margin-bottom: var(--spacing-md);
    }

    .result-stats {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--spacing-xs);
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }

    .result-option {
        font-size: 0.9rem;
        font-weight: 500;
        flex: 1;
    }

    .result-percentage {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary-color);
    }

    .result-bar {
        height: 1.75rem;
        border-radius: var(--border-radius-sm);
    }

    .result-fill {
        font-size: 0.8rem;
        line-height: 1.75rem;
        border-radius: var(--border-radius-sm);
    }

    /* Alert mobile */
    .alert {
        margin-bottom: var(--spacing-md);
        padding: var(--spacing-md);
        font-size: 0.9rem;
        border-radius: var(--border-radius);
    }

    /* Form elements mobile */
    .form-control {
        font-size: 1rem;
        /* Prevent zoom on iOS */
        padding: 0.875rem;
    }

    /* Small text adjustments */
    small,
    .text-muted {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Navigation mobile */
    .nav-link {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .card {
        margin-bottom: 1rem;
        border-radius: var(--border-radius);
        padding: 0.75rem;
    }

    .card-header,
    .card-body {
        padding: 0.75rem;
    }

    .poll-option {
        padding: 0.875rem !important;
        font-size: 0.9rem !important;
        min-height: 3rem;
    }

    .poll-option-text {
        font-size: 0.9rem;
    }

    .poll-option-description {
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.875rem;
        font-size: 0.95rem;
        min-height: 2.75rem;
    }

    .btn-vote {
        font-size: 1rem;
        min-height: 3rem;
    }

    h3,
    .poll-title {
        font-size: 1.1rem !important;
    }

    .logo {
        font-size: 1.1rem;
    }

    .result-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .result-option,
    .result-percentage {
        font-size: 0.85rem;
    }

    .result-bar {
        height: 1.5rem;
    }

    .result-fill {
        font-size: 0.75rem;
        line-height: 1.5rem;
    }

    small,
    .text-muted {
        font-size: 0.75rem;
    }

    .header {
        padding: 0.5rem 0;
    }

    .card-footer .btn {
        font-size: 0.85rem;
        min-height: 2.5rem;
        padding: 0.5rem;
    }

    .poll-info .poll-title {
        flex-direction: column;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

.ml-0 {
    margin-left: 0;
}

.ml-1 {
    margin-left: var(--spacing-xs);
}

.ml-2 {
    margin-top: var(--spacing-sm);
}

.ml-3 {
    margin-left: var(--spacing-md);
}

.ml-4 {
    margin-left: var(--spacing-lg);
}

.ml-5 {
    margin-left: var(--spacing-xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.text-muted {
    color: black;
    opacity: 0.9;
}

/* Gap utilities */
.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

/* Margin start utilities */
.ms-1 {
    margin-left: 0.25rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

.ms-3 {
    margin-left: 1rem;
}

.ms-4 {
    margin-left: 1.5rem;
}

/* Font weight utilities */
.fw-semibold {
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-danger {
    background: var(--danger-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

.badge-info {
    background: var(--info-color);
    color: white;
}

.badge-secondary {
    background: var(--secondary-color);
    color: white;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius);
}

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

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.table th {
    font-weight: 600;
    background: var(--light-color);
    color: var(--dark-color);
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Statistics Page Specific */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--primary-gradient);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stat-card:hover::before {
    transform: translateX(100%);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

.chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Print Styles */
@media print {

    .header,
    .btn,
    .nav {
        display: none !important;
    }

    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    * {
        color: #000 !important;
        background: #fff !important;
    }
}

/* Kullanıcının oyladığı seçenek stilleri */
.result-item.user-voted {
    border-left: 4px solid var(--primary-color);
    background: rgba(102, 126, 234, 0.02);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.result-item.user-voted .result-stats .result-option {
    font-weight: 600;
    color: var(--primary-color);
}

.result-item.user-voted .result-fill.user-choice {
    background: var(--primary-gradient);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    color: white;
    font-weight: 600;
    position: relative;
}

/* User vote box */
.user-vote-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(90, 111, 216, 0.05) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.user-vote-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .result-item.user-voted .result-fill.user-choice::before {
        left: 4px;
        font-size: 0.8rem;
    }
}

.user-voted .result-stats,
.user-voted .result-bar {
    margin-left: 1rem;
}

/* ==============================
   DASHBOARD STYLES
   ============================== */

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-6,
.col-md-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

/* Dashboard Container */
.dashboard-container {
    min-height: calc(100vh - 80px);
    padding: var(--spacing-lg) 0;
}

/* Dashboard Header */
.dashboard-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
}

/* Stats Cards */
.stats-cards {
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Sections */
.dashboard-section {
    margin-bottom: var(--spacing-xl);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.category-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.category-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 var(--spacing-xs) 0;
}

.category-description {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.4;
}

/* Category Deadline Styles */
.category-deadline {
    margin-top: var(--spacing-sm);
}

.deadline-info {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--spacing-xs);
}

.deadline-expired {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--spacing-xs);
}

.deadline-unlimited {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info-color);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--spacing-xs);
}

.deadline-date {
    display: block;
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.expired-badge {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: var(--spacing-sm);
}

/* Category Expired State */
.category-expired {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.7) !important;
}

.category-expired .category-title {
    color: var(--secondary-color);
}

.category-expired .category-icon {
    opacity: 0.6;
}

.category-expired-notice {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: var(--spacing-md);
}



.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.stat-value {
    font-weight: 600;
    color: var(--text-color);
}

.progress-bar-container {
    margin-bottom: var(--spacing-lg);
}

.progress-bar {
    height: 8px;
    background: rgba(108, 117, 125, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: var(--border-radius);
}

.category-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.pending-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.completed-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.empty-badge {
    background: rgba(108, 117, 125, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(108, 117, 125, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Quick Access */
.quick-access {
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* ==============================
   CATEGORY PAGE STYLES
   ============================== */

/* Category Container */
.category-container {
    min-height: calc(100vh - 80px);
    padding: var(--spacing-lg) 0;
}

/* Category Page Header */
.category-page-header {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Category Deadline Large Styles */
.category-deadline-large {
    margin-top: var(--spacing-md);
}

.deadline-info-large {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.deadline-expired-large {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.deadline-unlimited-large {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info-color);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.deadline-date-large {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

.category-info-large {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.category-icon-large {
    font-size: 4rem;
    line-height: 1;
    flex-shrink: 0;
}

.category-details {
    flex: 1;
}

.category-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 var(--spacing-sm) 0;
}

.category-description-large {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.5;
}

.category-stats-large {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    min-width: 100px;
}

.stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress Section */
.progress-section {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.progress-percentage {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.progress-bar-large {
    height: 12px;
    background: rgba(108, 117, 125, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.progress-bar-large .progress-fill {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: var(--border-radius);
}

/* Polls Section */
.polls-section {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Back Section */
.back-section {
    text-align: center;
}

/* Mobile Responsive for Category Page */
@media (max-width: 768px) {
    .category-info-large {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .category-icon-large {
        font-size: 3rem;
    }

    .category-title-large {
        font-size: 2rem;
    }

    .category-stats-large {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-item {
        min-width: auto;
    }

    .stat-item .stat-number {
        font-size: 1.5rem;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

/* Polls Grid */
.polls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.poll-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.poll-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.poll-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-sm);
}

.poll-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.poll-status {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.poll-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.poll-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.poll-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.poll-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.poll-meta span {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(108, 117, 125, 0.1);
    border-radius: var(--border-radius);
}

.poll-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

/* Polls List */
.polls-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.poll-list-item {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.poll-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.poll-info {
    flex: 1;
}

.poll-info .poll-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 var(--spacing-xs) 0;
}

.poll-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.poll-details span {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(108, 117, 125, 0.1);
    border-radius: var(--border-radius);
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.participated {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.missed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.empty-state p {
    color: var(--secondary-color);
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .stats-cards .row {
        margin: 0;
    }

    .stats-cards .col-6,
    .stats-cards .col-md-3 {
        padding: 0 var(--spacing-xs);
        margin-bottom: var(--spacing-sm);
    }

    .stat-card {
        padding: var(--spacing-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .polls-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .category-icon {
        align-self: center;
        font-size: 2rem;
    }

    .category-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .poll-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .poll-actions {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .poll-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .poll-details {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .quick-actions .btn-lg {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
}

/* Points voting system styles */
.points-voting-form {
    /* border: 2px solid #ff6b6b; */
    border-radius: 8px;
    padding: 1rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.available-points-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.points-badges .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.points-selection {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-top: 1rem;
}

.points-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-point {
    transition: all 0.3s ease;
    font-weight: 600;
    border-width: 2px;
    min-width: 100px;
}

.btn-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-point.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Direct points system styles */
.direct-points {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    /* border: 2px solid #ff6b6b; */
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.15);
}

.direct-points-section {
    text-align: center;
}

.contestant-info {
    background: linear-gradient(135deg, #fff9c4 0%, #f3e5f5 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #ff6b6b;
    margin-bottom: 1.5rem;
}

.contestant-name h5 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.points-selection-direct {
    margin: 1.5rem 0;
}

.points-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn-point-direct {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border: 3px solid #667eea;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    min-height: 100px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-point-direct:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    border-color: #ff6b6b;
}

.btn-point-direct.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.btn-point-direct .point-value {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.btn-point-direct .point-label {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.btn-point-direct.selected .point-label {
    opacity: 1;
}

/* Enhanced animation for selected points */
.btn-point-direct.selected::before {
    content: '⭐';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 1.2rem;
    animation: sparkle 1s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

/* Points user vote display styles */
.points-user-vote {
    text-align: center;
    padding: 1rem;
}

.user-vote-box-points {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    border: 2px solid #28a745;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.2);
    max-width: 400px;
    margin: 0 auto;
}

.vote-success-icon {
    animation: bounce 2s ease-in-out;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.points-given-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 1rem 2rem;
    margin: 1rem auto;
    display: inline-block;
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.points-value {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.points-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    display: block;
}

.points-option {
    position: relative;
}

.points-option.selected {
    background: linear-gradient(135deg, #fff5f5 0%, #e3f2fd 100%);
    border-color: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.points-option.selected::before {
    content: '🎯';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
}

/* Result display for points */
.result-item .result-percentage {
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.result-item .result-percentage small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* User vote box enhanced */
.user-vote-box {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8f1 100%);
    border: 1px solid #28a745;
    position: relative;
}

.user-vote-box .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced poll card for points */
.poll-card[data-voting-type="points"] {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #ff6b6b;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.1);
}

.poll-card[data-voting-type="points"] .card-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8a80 100%);
    color: white;
    border-radius: 6px 6px 0 0;
}

/* Responsive adjustments for points system */
@media (max-width: 768px) {
    .points-buttons {
        justify-content: center;
    }

    .btn-point {
        flex: 1;
        min-width: auto;
        max-width: 80px;
        font-size: 0.85rem;
        padding: 0.5rem 0.25rem;
    }

    .available-points-info {
        text-align: center;
    }

    .points-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }

    /* Direct points mobile adjustments */
    .points-buttons-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 280px;
    }

    .btn-point-direct {
        padding: 1rem 0.5rem;
        min-height: 80px;
    }

    .btn-point-direct .point-value {
        font-size: 1.5rem;
    }

    .btn-point-direct .point-label {
        font-size: 0.8rem;
    }

    .contestant-info {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contestant-name h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .points-buttons-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        max-width: 100%;
    }

    .btn-point-direct {
        padding: 0.75rem 0.25rem;
        min-height: 70px;
    }

    .btn-point-direct .point-value {
        font-size: 1.25rem;
    }
}

/* Points indicator in results */
.result-stats .points-indicator {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Alert variations for points system */
.alert-points-info {
    background: linear-gradient(135deg, #e1f5fe 0%, #f3e5f5 100%);
    border-color: #2196f3;
    color: #0d47a1;
}

.alert-points-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    border-color: #ff9800;
    color: #e65100;
}

/* Animation for successful point submission */
.points-success {
    animation: pointsSuccess 0.6s ease-out;
}

@keyframes pointsSuccess {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(5deg);
    }

    50% {
        transform: scale(1.05) rotate(-5deg);
    }

    75% {
        transform: scale(1.02) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        padding: var(--spacing-md) 0;
    }

    .stats-cards .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .poll-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}


.p-0 {
    padding: 0rem;
}

/* 0px  */
.p-0.5 {
    padding: 0.125rem;
}

/* 2px  */
.p-1 {
    padding: 0.25rem;
}

/* 4px  */
.p-1.5 {
    padding: 0.375rem;
}

/* 6px  */
.p-2 {
    padding: 0.5rem;
}

/* 8px  */
.p-2.5 {
    padding: 0.625rem;
}

/* 10px */
.p-3 {
    padding: 0.75rem;
}

/* 12px */
.p-3.5 {
    padding: 0.875rem;
}

/* 14px */
.p-4 {
    padding: 1rem;
}

/* 16px */
.p-5 {
    padding: 1.25rem;
}

/* 20px */
.p-6 {
    padding: 1.5rem;
}

/* 24px */
.p-7 {
    padding: 1.75rem;
}

/* 28px */
.p-8 {
    padding: 2rem;
}

/* 32px */
.p-9 {
    padding: 2.25rem;
}

/* 36px */
.p-10 {
    padding: 2.5rem;
}

/* 40px */
.p-11 {
    padding: 2.75rem;
}

/* 44px */
.p-12 {
    padding: 3rem;
}

/* 48px */
.p-14 {
    padding: 3.5rem;
}

/* 56px */
.p-16 {
    padding: 4rem;
}

/* 64px */
.p-20 {
    padding: 5rem;
}

/* 80px */
.p-24 {
    padding: 6rem;
}

/* 96px */
.p-28 {
    padding: 7rem;
}

/* 112px */
.p-32 {
    padding: 8rem;
}

/* 128px */
.p-36 {
    padding: 9rem;
}

/* 144px */
.p-40 {
    padding: 10rem;
}

/* 160px */
.p-44 {
    padding: 11rem;
}

/* 176px */
.p-48 {
    padding: 12rem;
}

/* 192px */
.p-52 {
    padding: 13rem;
}

/* 208px */
.p-56 {
    padding: 14rem;
}

/* 224px */
.p-60 {
    padding: 15rem;
}

/* 240px */
.p-64 {
    padding: 16rem;
}

/* 256px */
.p-72 {
    padding: 18rem;
}

/* 288px */
.p-80 {
    padding: 20rem;
}

/* 320px */
.p-96 {
    padding: 24rem;
}

/* 384px */

/* Top */
.pt-3 {
    padding-top: 0.75rem;
}

/* Right */
.pr-3 {
    padding-right: 0.75rem;
}

/* Bottom */
.pb-3 {
    padding-bottom: 0.75rem;
}

/* Left */
.pl-3 {
    padding-left: 0.75rem;
}

/* Y ekseni (top & bottom) */
.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* X ekseni (left & right) */
.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.point-distribution {
    width: 100%;
}