#elector-form {
    max-width: 550px;
    margin: 0 auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 12px;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
	box-shadow: 0 2px 10px rgba(0,0,0,.1)
    font-family: 'Segoe UI', Roboto, sans-serif;
}

#elector-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

#elector-form label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

#elector-form input {
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

#elector-form select {
    padding: 0.7rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

#elector-form button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
	background: #0074c8;
}

#elector-form button:hover {
    background: #f08e24;
}

#elector-response {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 1rem;
}
.response-area {
    margin-top: 1.5rem;
    text-align: center;
    min-height: 100px;
    position: relative;
}

.response-area svg {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.loading-spin {
    animation: spin 1.2s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-msg {
    color: #2e7d32;
    font-weight: 600;
}

.error-msg {
    color: #c62828;
    font-weight: 600;
}

.tips {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
}

.form-note {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #444;
}