body { font-family: 'Segoe UI', sans-serif; background: #eff3f6; margin: 0; }
.header { background: linear-gradient(135deg, #2980b9, #2c3e50); color: white; padding: 20px; text-align: center; }
.header h1 { margin: 0; font-size: 24px; }
.container { max-width: 1100px; margin: 20px auto; padding: 15px; }

/* Form Container */
.login-panel { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 30px; border-top: 5px solid #2980b9; }
.form-group { margin-bottom: 15px; }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box; }
.radio-group { display: flex; gap: 15px; margin-bottom: 15px; }
.radio-group label { background: #f1f1f1; padding: 10px 20px; border-radius: 20px; cursor: pointer; flex: 1; text-align: center; border: 1px solid #ddd; transition: 0.3s; }
.radio-group input[type="radio"] { display: none; }
.radio-group input[type="radio"]:checked + label { background: #2980b9; color: white; border-color: #2980b9; }

/* Candidates */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-align: center; transition: 0.3s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.card img { width: 100%; height: 250px; object-fit: cover; }
.card-body { padding: 15px; }
.btn-vote { background: #27ae60; color: white; border: none; padding: 12px; width: 100%; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 16px; margin-top: 10px; }
.btn-vote:hover { background: #219150; }

/* Tracking Button */
.btn-track { display: block; width: 200px; margin: 30px auto; text-align: center; padding: 12px; background: #e67e22; color: white; text-decoration: none; border-radius: 50px; font-weight: bold; }
.blockchain-log { background: #222; color: #00ff00; padding: 15px; height: 300px; overflow-y: scroll; font-family: monospace; font-size: 12px; border-radius: 5px; }
.hidden { display: none; }