body {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    background-color: white;
    padding: 1em;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Landing page styles */
.landing-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
}

.app-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-subtitle {
    font-size: 1.5rem;
    color: #5f6368;
    margin-bottom: 2rem;
    font-weight: 400;
}

.app-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #3c4043;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature h3 {
    font-size: 1.3rem;
    color: #1a73e8;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: #5f6368;
    line-height: 1.5;
    margin: 0;
}

.cta-section {
    margin: 3rem 0;
}

.login-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1a73e8;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.login-button:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    text-decoration: none;
    color: white;
}

.legal-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e8eaed;
    text-align: center;
}

.legal-text {
    color: #5f6368;
    font-size: 0.9rem;
    margin: 0;
}

.legal-link {
    color: #1a73e8;
    text-decoration: none;
}

.legal-link:hover {
    text-decoration: underline;
}

/* Legal pages styles */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.legal-page h1 {
    color: #1a73e8;
    border-bottom: 2px solid #e8eaed;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    color: #3c4043;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page h3 {
    color: #5f6368;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-page p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #3c4043;
}

.legal-page ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #3c4043;
}

.back-link {
    margin-top: 3rem;
    text-align: center;
}

/* User authentication styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #007bff;
}

.user-name {
    color: #333;
}

.logout-btn {
    background-color: white;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #ddd;
}

.logout-btn:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    border-color: #adb5bd;
}

.login-btn {
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.login-btn:hover {
    background-color: #218838;
    text-decoration: none;
}

/* Flash messages */
.flash-messages {
    margin: 10px 0;
}

.flash-message {
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 4px;
    font-weight: bold;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

hr {
    display: none; /* Remove default HR, use borders or margins for separation */
}

main {
    flex: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Responsive design for larger screens */
@media (min-width: 768px) {
    main {
        padding: 30px;
    }
}

@media (min-width: 1200px) {
    main {
        padding: 40px;
    }
}

@media (min-width: 1600px) {
    main {
        padding: 50px;
    }
}

h1, h2 {
    color: #007bff;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.3em;
    margin-bottom: 0.7em;
}

h2 {
    font-weight: normal;
}

.button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px #0056b3;
    margin: 10px 5px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px #004085;
}

.button:active {
    background-color: #004085;
    box-shadow: 0 1px #002752;
    transform: translateY(2px);
}

.button.secondary {
    background-color: #6c757d;
    box-shadow: 0 2px #545b62;
}

.button.secondary:hover {
    background-color: #545b62;
    box-shadow: 0 4px #3d4449;
}

.button.primary {
    background-color: #dc3545;
    box-shadow: 0 2px #b02a37;
}

.button.primary:hover {
    background-color: #b02a37;
    box-shadow: 0 4px #842029;
}

.button.danger {
    background-color: #dc3545;
    box-shadow: 0 2px #b02a37;
}

.button.danger:hover {
    background-color: #b02a37;
    box-shadow: 0 4px #842029;
}

.button.warning {
    background-color: #ffc107;
    color: #212529;
}

.button.warning:hover {
    background-color: #e0a800;
}

.button.success {
    background-color: #28a745;
    color: white;
}

.button.success:hover {
    background-color: #218838;
}

/* Welcome message styles */
.welcome-message {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.admin-welcome {
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
}

.role-selection {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: auto; /* Pushes footer to the bottom */
}

/* Form styling */
form {
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

form.inline-form {
    display: inline;
    margin: 0;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Sortable list styling */
#sortable-list div {
    padding: 10px;
    margin-bottom: 5px;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: grab;
}

#sortable-list div:hover {
    background-color: #dde2e6;
}

/* Heatmap container */
#heatmap-container {
    border: 1px solid #ddd;
    margin-top: 20px;
    border-radius: 4px;
}

/* Admin page specific styles */
.item-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.item-entry label {
    margin-bottom: 0;
    min-width: 100px;
}

.item-entry input[type="text"] {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    margin-bottom: 0;
}

.item-entry select[name="item_colors[]"] {
    width: 120px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
}

.item-entry select[name="item_colors[]"] option {
    padding: 8px;
    font-weight: 500;
}

/* Paste section styles */
.paste-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.paste-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.paste-section textarea {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
}

.paste-section textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.paste-section textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
}

#paste-parse-btn {
    background-color: #28a745;
    margin-bottom: 10px;
}

#paste-parse-btn:hover {
    background-color: #218838;
}

.paste-section.success {
    border-color: #28a745;
    background-color: #f8fff9;
}

.paste-section.success::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    color: #28a745;
    font-size: 18px;
    font-weight: bold;
}

.paste-help {
    margin-top: 10px;
    color: #6c757d;
    font-size: 13px;
}

.paste-help small {
    line-height: 1.4;
}

.items-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.items-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6;
}

.items-separator span {
    background-color: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 14px;
}

/* Campaign styles */
.campaigns-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.campaign-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.campaign-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.campaign-card h3 {
    margin-top: 0;
    color: #007bff;
}

.campaign-card p {
    margin: 8px 0;
}

.campaign-card code {
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
}

.campaign-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.campaign-actions .button {
    height: 40px;
    line-height: 38px;
    padding: 0 20px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: 'Google Sans', 'Roboto', sans-serif;
}

/* Status indicators */
.status-active {
    color: #28a745;
    font-weight: 500;
}

.status-inactive {
    color: #6c757d;
    font-weight: 500;
}

.status-paused {
    color: #ffc107;
    font-weight: 500;
}

.status-completed {
    color: #28a745;
    font-weight: 500;
}

.status-pending {
    color: #ffc107;
    font-weight: 500;
}

/* Home page specific styles */
.user-campaigns-section {
    margin-bottom: 40px;
}

.user-campaigns-section h2 {
    margin-bottom: 20px;
    color: #007bff;
}

.no-campaigns {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 20px 0;
}

.no-campaigns p {
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 18px;
}

.quick-actions-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.quick-actions-section h2 {
    margin-top: 0;
    color: #007bff;
}

/* Campaign details styles */
.campaign-header {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #007bff;
}

.live-updates-status {
    margin: 0;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-indicator {
    font-size: 12px;
    animation: pulse 2s infinite;
}

.live-text {
    color: #28a745;
    font-size: 14px;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Progress bar styles */
.progress-section {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.campaign-paused-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pause-icon {
    font-size: 18px;
    color: #856404;
}

.pause-message {
    color: #856404;
    font-weight: 500;
    font-size: 14px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-label {
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

.progress-percentage {
    font-weight: 700;
    color: #007bff;
    font-size: 18px;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 6px;
    transition: width 0.8s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-stats {
    text-align: center;
}

.completed-count {
    color: #6c757d;
    font-size: 14px;
}

/* Live update notification styles */
.live-update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-icon {
    font-size: 20px;
}

.notification-text {
    font-weight: 500;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Disclosure toggle styles */
.disclosure-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    width: 100%;
}

.disclosure-toggle:hover {
    color: #007bff;
}

.disclosure-toggle:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    border-radius: 4px;
}

.disclosure-icon {
    font-size: 12px;
    transition: transform 0.2s ease;
    min-width: 12px;
}

.disclosure-content {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

/* Participant label styles */
.participant-label {
    cursor: help;
    margin: 0;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.participant-label:hover {
    color: #007bff;
}

/* Tooltip styles */
.participant-tooltip {
    position: fixed;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.participant-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.participant-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
}

.campaign-sections {
    display: grid;
    gap: 30px;
}

.section {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.items-grid {
    display: grid;
    gap: 10px;
}

.item-card {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.item-card h3 {
    margin: 0;
    color: #333;
}

.participants-list {
    display: grid;
    gap: 10px;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.participant-item .email {
    font-weight: bold;
}

.ranking-entry {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.ranking-entry h4 {
    margin-top: 0;
    color: #007bff;
}

.ranking-items {
    display: grid;
    gap: 8px;
    margin: 10px 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.rank {
    background-color: #007bff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.rank-number {
    background-color: #007bff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.item-name {
    flex: 1;
    font-weight: bold;
}

.submission-time {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

/* Ranking form styles */
.ranking-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.sortable-item {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: grab;
    transition: box-shadow 0.2s ease;
}

.sortable-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sortable-item:active {
    cursor: grabbing;
}

.item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
}

.drag-handle {
    color: #6c757d;
    font-size: 18px;
    cursor: grab;
}

.sortable-ghost {
    opacity: 0.5;
    background-color: #e9ecef;
}

.ranking-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.heatmap-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

/* Overall heatmap grid */
.overall-heatmap {
    margin-bottom: 16px;
}

.heatmap-wrapper {
    overflow-x: auto;
}

.heatmap-grid {
    display: grid;
    gap: 4px;
}

.grid-row {
    display: grid;
    grid-template-columns: 220px repeat(20, 48px);
    gap: 4px;
    align-items: stretch;
}

.grid-row.header {
    position: sticky;
    top: 0;
    background: #fff;
}

.grid-cell {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
}

.grid-cell.header {
    background: #f1f3f5;
    font-weight: bold;
}

.grid-cell.item-name {
    justify-content: flex-start;
    padding: 0 8px;
    background: #f8f9fa;
    font-weight: 600;
}

.grid-cell.heat {
    background: #eef2ff;
}

/* Results page styles */
.results-header {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #28a745;
}

.your-rankings {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.rankings-list {
    display: grid;
    gap: 10px;
}

.campaign-info {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-item h3 {
    margin-top: 0;
    color: #007bff;
}

.items-list, .participants-list {
    display: grid;
    gap: 8px;
}

.item-info, .participant-email {
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.navigation-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

/* Available campaigns section */
.available-campaigns {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.manual-entry {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.help-text {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

/* Responsive adjustments for admin form */
@media (min-width: 768px) {
    .item-entry {
        gap: 20px;
        padding: 20px;
    }
    
    .item-entry input[type="text"] {
        min-width: 300px;
    }
}

@media (min-width: 1200px) {
    .item-entry input[type="text"] {
        min-width: 400px;
    }
}

/* Mobile responsive design */
@media (max-width: 768px) {
    main {
        padding: 15px;
    }
    
    .item-entry {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .item-entry input[type="text"] {
        max-width: none;
        min-width: auto;
    }
    
    .item-entry select[name="item_colors[]"] {
        width: 100%;
        min-width: auto;
    }
}

/* Privacy Policy Styles */
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.privacy-policy h1 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.privacy-policy h2 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.privacy-policy h3 {
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.privacy-policy p {
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-policy ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-policy li {
    margin-bottom: 8px;
}

.privacy-policy strong {
    color: #333;
}

.privacy-policy hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e9ecef;
}

.privacy-policy em {
    color: #666;
    font-style: italic;
}

/* Footer link styling */
footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile responsive for privacy policy */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 15px;
        margin: 10px;
    }
    
    .privacy-policy h1 {
        font-size: 1.6em;
    }
    
    .privacy-policy h2 {
        font-size: 1.3em;
    }
    
    .privacy-policy h3 {
        font-size: 1.1em;
    }
}
