* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.vote-section {
    margin-bottom: 30px;
}

.bar-container {
    margin-bottom: 30px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bar-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.bar-count {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    min-width: 60px;
    text-align: right;
}

.bar-wrapper {
    background: #e0e0e0;
    border-radius: 10px;
    height: 50px;
    overflow: hidden;
    position: relative;
}

.bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.bar-sucre {
    background: linear-gradient(90deg, #ff6b9d 0%, #ffa06b 100%);
}

.bar-sale {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.info {
    text-align: center;
    margin-bottom: 20px;
}

.info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.status {
    padding: 10px 20px;
    border-radius: 20px;
    background: #f0f0f0;
    display: inline-block;
}

#status {
    font-weight: bold;
    font-size: 1rem;
}

.reset-btn, .obs-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 10px;
}

.reset-btn {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.obs-btn {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.reset-btn:hover, .obs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.reset-btn:active, .obs-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    .bar-name {
        font-size: 1.2rem;
    }

    .bar-count {
        font-size: 1.5rem;
    }
}
