/**static/css/styles.css**/
:root {
    --bg-color: #ffffff;
    --text-color: #121212;
    --link-color: #1a73e8;
    --event-card-color: #777;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --link-color: #90caf9;
    --event-card-color: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}

.site-header, .site-footer {
    background-color: var(--bg-color);
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Custom toggler button */
.navbar-toggler {
  background: none;
  border: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23800080' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Navigation links */
.navbar-nav .nav-item {
  list-style: none;
}

.navbar-nav .nav-link {
  color: #333;
  padding: 0.5rem 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

/* Active link styling */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  color: #007bff;
}

/* Animated underline effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Mobile menu adjustments */
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navbar-menu.open {
  display: block;
}

/* Dark theme support */
[data-theme='dark'] .navbar-nav .nav-link {
  color: #f8f9fa;
}

[data-theme='dark'] .navbar-nav .nav-link:hover,
[data-theme='dark'] .navbar-nav .nav-link.active {
  color: #ffc107;
}

[data-theme='dark'] .navbar-nav .nav-link::after {
  background-color: #ffc107;
}
            /* Hover effect on the container */
#userDropdown:hover {
  background-color: #d8b3f2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.logout-form {
    display: inline;
}

.btn-link {
    background: none;
    border: none;
    color: var(--link-color);
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-color);
}

/* ========== Search ========== */

.search-form {
    margin-bottom: 2rem;
    text-align: center;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.label {
    font-weight: 600;
    color: #333;
}

.description {
    font-style: italic;
    color: #555;
    margin: 0.5rem 0 1rem;
}

/* ========== Buttons ========== */

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.btn.primary {
    background-color: #1a73e8;
    color: #fff;
}

.btn.primary:hover {
    background-color: #155cc3;
}

.btn.secondary {
    background-color: #f1f3f4;
    color: #1a73e8;
}

.btn.secondary:hover {
    background-color: #e0e0e0;
}

.btn.warning {
    background-color: #fbbc05;
    color: #000;
}

.btn.warning:hover {
    background-color: #f1ae00;
}

.btn.danger {
    background-color: #ea4335;
    color: #fff;
}

.btn.danger:hover {
    background-color: #d93025;
}

.btn.small {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* ========== Ticket Progress Bar ========== */

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.progress-bar .fill {
  height: 100%;
  background-color: #4caf50;
  transition: width 0.3s ease;
}

/* Width utility classes */
.fill-0   { width: 0%; }
.fill-10  { width: 10%; }
.fill-20  { width: 20%; }
.fill-30  { width: 30%; }
.fill-40  { width: 40%; }
.fill-50  { width: 50%; }
.fill-60  { width: 60%; }
.fill-70  { width: 70%; }
.fill-80  { width: 80%; }
.fill-90  { width: 90%; }
.fill-100 { width: 100%; }

/* ========== Pagination ========== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-number {
    font-weight: 500;
    color: #444;
}

/* ========== Empty State ========== */

.empty-state {
    text-align: center;
    font-size: 1.2rem;
    color: #777;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .navbar-menu {
        display: none;
        flex-direction: column;
        margin-top: 1rem;
    }
}
/* ==============================
   Subscriber Dashboard Styling
   ============================== */

.subscriber-dashboard {
    background-color: #f8f9fa;
}

/* Hero Section */
.dashboard-hero {
    background: linear-gradient(135deg, #007bff, #6610f2);
    border-radius: 0 0 30px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dashboard-hero h2 {
    font-size: 2.2rem;
}

.dashboard-hero .btn {
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

/* Stats */
.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

/* Action Cards */
.dashboard-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.dashboard-card .icon {
    font-size: 2.5rem;
    transition: transform 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.15);
}

.dashboard-card:hover .icon {
    transform: scale(1.15);
}

.dashboard-card h5 {
    color: #212529;
    margin-bottom: 0.3rem;
}

.dashboard-card p {
    color: #6c757d;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .dashboard-hero {
        padding: 2.5rem 1rem;
    }

    .dashboard-card {
        margin-bottom: 1rem;
    }
}
