/* --- General Body Styles --- */
body {
    background-color: #111;
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* --- Form Styles (Login, Register, Upload) --- */
.form-container {
    background: #222;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px #007bff;
    width: 320px;
    margin-top: 2rem;
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 150px;
}

/* --- Main Voting Page Styles --- */
.photo-card {
    position: relative;
    margin: 2rem auto;
    background: #222;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 10px #007bff;
    max-width: 350px;
}

.photo-card img {
    max-width: 100%;
    border-radius: 10px;
    border: 3px solid #007bff;
    animation: fadeIn 0.5s ease-in-out;
}

/* --- Leaderboard Styles --- */
.leaderboard-item {
    background: #222;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 10px #555;
    transition: transform 0.2s ease;
}

.leaderboard-item:hover {
    transform: translateY(-5px);
}

.leaderboard-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #007bff;
    margin-bottom: 10px;
}

/* Make the notification dropdown scrollable */
#notification-menu {
    max-height: 400px; /* Adjust this value as needed */
    overflow-y: auto;
}
/* --- Animation and Button Styles --- */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Gradients for Bootstrap buttons */
.btn-primary {
    background-image: linear-gradient(to bottom right, #007bff, #0056b3);
    border: none;
}

.btn-secondary {
    background-image: linear-gradient(to bottom right, #6c757d, #495057);
    border: none;
}

/* Add a hover effect to the primary button */
.btn-primary:hover {
    background-image: linear-gradient(to bottom right, #0088ff, #0056b3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

/* Add a hover effect to the secondary button */
.btn-secondary:hover {
    background-image: linear-gradient(to bottom right, #868e96, #495057);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
    transform: translateY(-2px);
}
/* Make the comment byline brighter */
.card-subtitle.text-muted {
    color: #aaa !important; /* A lighter gray color */
}
/* Make the notification dropdown full-width in the collapsed mobile menu */
@media (max-width: 991px) {
    .navbar-nav .nav-item.dropdown {
        width: 100%;
        text-align: center;
    }
}
