.photo-contest-voting {
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.photo-contest-voting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.photo-contest-voting-header h2 {
    margin: 0;
}

.photo-contest-voting-header .disqualify-button {
    margin: 0;
}

.photo-contest-voting img {
    max-width: 100%;
    height: auto;
    margin: 0 0 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.voting-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 0 2rem 0;
}

.vote-button {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: none;
}

.vote-button:hover {
    transform: scale(1.1);
}

.vote-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.vote-button img {
    width: 50px;
    height: 50px;
    display: block;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.disqualify-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: background-color 0.2s;
}

.disqualify-button:hover {
    background-color: #c82333;
}

.disqualify-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.remaining-photos {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #666;
}

.photo-contest-login-message,
.photo-contest-no-more-photos {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-contest-login-message .button,
.photo-contest-no-more-photos .button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.photo-contest-login-message .button:hover {
    background-color: #005177;
}

/* Results table styles */
.photo-contest-results {
    width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    overflow-x: auto;
}

.photo-contest-results table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-contest-results th,
.photo-contest-results td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.photo-contest-results th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.photo-contest-results tr:nth-child(odd) {
    background-color: #eeeeee;
}

.photo-contest-results tr:hover {
    background-color: #f8f9fa;
}

.photo-contest-results img {
    width: 100px;
    height: auto;
    border-radius: 4px;
}

.photo-contest-results td:first-child {
    font-weight: 600;
    color: #0073aa;
}

.photo-contest-results td:last-child {
    font-weight: 600;
    color: #28a745;
} 