:root {
  /* Light theme (default) */
  --bg-primary: #f8f9fa;
  --bg-secondary: #f8f9fa;
  --text-primary: #333333;
  --text-secondary: #6c757d;
  --accent-color: #007bff;
  --accent-color-rgb: 0, 123, 255;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --success-color-rgb: 40, 167, 69;
  --error-color: #dc3545;
  --error-color-rgb: 220, 53, 69;
  --warning-color: #ffc107;
  --warning-color-rgb: 255, 193, 7;
  --info-color: #17a2b8;
  --info-color-rgb: 23, 162, 184;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --input-bg: #ffffff;
  --accent-color-hover: #0056b3;
  /* Light theme (default) */
  --promotion-submission-bg: #fff8e1;
  --promotion-submission-bg-rgb: 255, 248, 225;
  --promotion-submission-border: #ffc107;
  --promotion-submission-text: #856404;
  --promotion-submission-icon-size: 3rem;
  --promotion-submission-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
  --promotion-submission-gradient-start: rgba(255, 193, 7, 0.15);
  --promotion-submission-gradient-end: rgba(255, 193, 7, 0.05);
}

/* Dark theme */
[data-theme="dark"] {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --text-primary: #f8f9fa;
  --text-secondary: #adb5bd;
  --accent-color: #0d6efd;
  --accent-color-rgb: 13, 110, 253;
  --border-color: #444444;
  --success-color: #2cb74c;
  --success-color-rgb: 44, 183, 76;
  --error-color: #e4414f;
  --error-color-rgb: 228, 65, 79;
  --warning-color: #ffca2c;
  --warning-color-rgb: 255, 202, 44;
  --info-color: #0dcaf0;
  --info-color-rgb: 13, 202, 240;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  --input-bg: #2d2d2d;
  --accent-color-hover: #0b5ed7;
  --promotion-submission-bg: #3d3000;
  --promotion-submission-bg-rgb: 61, 48, 0;
  --promotion-submission-border: #ffca2c;
  --promotion-submission-text: #ffe082;
  --promotion-submission-icon-size: 3rem;
  --promotion-submission-shadow: 0 4px 12px rgba(255, 202, 44, 0.3);
  --promotion-submission-gradient-start: rgba(255, 202, 44, 0.2);
  --promotion-submission-gradient-end: rgba(255, 202, 44, 0.05);
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container utilities - can use Tailwind's container and mx-auto instead */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Removed header styles - now in header.html */

/* Removed footer styles - now in footer.html */

/* Buttons - can use Tailwind for basic buttons, keep specialized ones */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: var(--accent-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.btn-success { background-color: var(--success-color); }
.btn-error { background-color: var(--error-color); }
.btn-warning { background-color: var(--warning-color); color: #212529; }
.btn-info { background-color: var(--info-color); }

/* Notification system - keep as it's specialized */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 350px;
}

.notification {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  animation: slide-in 0.3s ease-out;
  transition: opacity 0.3s, transform 0.3s;
}

.notification.success {
  background-color: var(--success-color);
  color: white;
}

.notification.error {
  background-color: var(--error-color);
  color: white;
}

.notification-content {
  flex-grow: 1;
  margin-right: 15px;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Animation for notifications */
@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Enhanced Custom Alert Styles */
.custom-alert {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 280px;
    max-width: 450px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    opacity: 0;
}

.custom-alert.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-alert-content {
    display: flex;
    align-items: flex-start;
}

.custom-alert-icon {
    padding: 20px 0 20px 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-alert-body {
    flex: 1;
    padding: 20px;
}

.custom-alert-title {
    margin: 0 0 5px 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.custom-alert-message {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.custom-alert-close {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 1rem;
    opacity: 0.7;
    color: inherit;
    transition: opacity 0.2s;
}

.custom-alert-close:hover {
    opacity: 1;
}

.custom-alert-progress {
    height: 4px;
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
}

/* Alert variants */
.custom-alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.custom-alert-error {
    background: linear-gradient(135deg, #dc3545, #ff4560);
    color: white;
}

.custom-alert-info {
    background: linear-gradient(135deg, #17a2b8, #0dcaf0);
    color: white;
}

.custom-alert-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

/* Alert animation */
@keyframes progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Animation for fade in effect */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Other responsive utilities */
.hide-mobile {
  display: none !important;
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}
