/* TandemX Combined Styles */

/* === styles.css === */
/* TandemX - Main Stylesheet */

/* Base styles */
body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
}

a {
    color: #ff6b35;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 40px 0;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Header */
header {
    background-color: #1a1a1a;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.logo {
    font-weight: bold;
    font-size: 1.5em;
    color: #ff6b35;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ff6b35;
    color: white;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
}

.button:hover {
    background-color: #e55a2b;
    text-decoration: none;
}

.button-secondary {
    background-color: #1a1a1a;
    color: #fff;
}

.button-secondary:hover {
    background-color: #333;
}

/* Form elements */
input,
textarea,
select {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
}

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

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #1a1a1a;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background-color: #f9f9f9;
}

/* Grid */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}
.mt-1 {
    margin-top: 10px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-3 {
    margin-top: 30px;
}
.mt-4 {
    margin-top: 40px;
}

.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 10px;
}
.mb-2 {
    margin-bottom: 20px;
}
.mb-3 {
    margin-bottom: 30px;
}
.mb-4 {
    margin-bottom: 40px;
}

.p-0 {
    padding: 0;
}
.p-1 {
    padding: 10px;
}
.p-2 {
    padding: 20px;
}
.p-3 {
    padding: 30px;
}
.p-4 {
    padding: 40px;
}

/* Custom components */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #fff4f0;
    border: 1px solid #ffb399;
    color: #ff6b35;
}

.alert-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.alert-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    color: #faad14;
}

.alert-error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #f5222d;
}

/* === Landing Page Styles === */

.landing-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 3rem 0 2rem;
    color: #1a1a1a;
}

/* Featured Articles */
.featured-articles {
    margin-bottom: 4rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-icon {
    font-size: 2rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.article-description {
    color: #666;
    line-height: 1.6;
    margin: 1rem 0;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #888;
}

/* Featured Tools */
.featured-tools {
    margin-bottom: 4rem;
}

.featured-grid,
.spaceport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tool-icon {
    font-size: 1.5rem;
}

.featured-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-badge.prototype {
    background: rgba(255, 193, 7, 0.9);
    color: #1a1a1a;
}

.featured-badge.processing {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.featured-body {
    padding: 1.5rem;
}

.featured-description {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.featured-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.metric-item {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ff6b35;
    display: block;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

.tool-links {
    display: flex;
    gap: 1rem;
}

.tool-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

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

/* Tools Table */
.tools-table {
    margin-bottom: 4rem;
}

.tools-table table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tools-table th {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem;
    font-weight: 600;
    text-align: left;
}

.tools-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.tools-table tr:hover {
    background: #f8f9fa;
}

/* Category Lists */
.category-lists {
    margin-bottom: 4rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    cursor: pointer;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-toggle.expanded {
    transform: rotate(180deg);
}

.category-tools {
    margin-top: 1rem;
}

.tool-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-item:last-child {
    border-bottom: none;
}

.tool-name {
    font-weight: 500;
    color: #1a1a1a;
}

.tool-description {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.tool-badges {
    display: flex;
    gap: 0.5rem;
}

.tool-badge {
    background: #f8f9fa;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tool-badge.live {
    background: #d4edda;
    color: #155724;
}

.tool-badge.prototype {
    background: #fff3cd;
    color: #856404;
}

/* About Section */
.about-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.about-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta .button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-page-content {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin: 2rem 0 1.5rem;
    }

    .articles-grid,
    .featured-grid,
    .spaceport-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .featured-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        padding: 2rem 1rem;
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
    }
}


/* === nav.css === */
/* Navigation styles for ISM */

:root {
    --primary-color: #4f9cf9;
    --text-color: #1a1a1a;
}

/* Main navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79, 156, 249, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.logo:hover {
    color: #3a80d2;
    background-color: rgba(79, 156, 249, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 156, 249, 0.15);
}

.logo:hover::before {
    left: 100%;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.nav-item a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.04);
}

.nav-item a.active {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.06);
}

.has-megamenu {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.megamenu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    min-width: 400px;
    z-index: 100;
    border: 1px solid #eaeaea;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    pointer-events: none;
}

.megamenu-panel.open {
    display: grid;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.megamenu-column h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.megamenu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-column li {
    margin-bottom: 0.5rem;
}

.megamenu-column a {
    font-weight: 400;
    font-size: 0.95rem;
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    margin: 0.1rem 0;
    transition: background-color 0.15s ease;
}

.megamenu-column a:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.login:hover {
    background-color: #3a80d2;
}

.logout {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.logout:hover {
    background-color: #f5f5f5;
}

.nav-loading {
    color: #888;
    font-size: 0.9rem;
}

/* Mobile hamburger menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    transition: color 0.2s ease;
    z-index: 1001;
}

.nav-toggle:hover {
    color: var(--primary-color);
}

.nav-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block !important;
    }

    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.75rem 1rem;
    }

    .nav-links {
        position: fixed !important;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 999;
        gap: 0;
    }

    .nav-links.active {
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-item a {
        display: block !important;
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border-radius: 0;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        border-top: 1px solid #eee;
        margin-top: 0.25rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .megamenu-panel {
        position: static;
        grid-template-columns: 1fr;
        min-width: unset;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid #eee;
        margin: 0;
        padding: 0.5rem 1rem;
        transform: none;
        opacity: 1;
        background-color: #f8f8f8;
    }

    .has-megamenu {
        width: 100%;
    }

    .megamenu-panel.open {
        margin-top: 0;
        background-color: #f8f8f8;
    }

    .megamenu-column {
        margin-bottom: 0.75rem;
    }

    .megamenu-column:last-child {
        margin-bottom: 0;
    }

    .megamenu-column h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .megamenu-column a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .nav-content {
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
        padding: 0.2rem 0.4rem;
    }

    .nav-links {
        top: 60px;
    }

    .nav-links.active {
        max-height: calc(100vh - 60px) !important;
    }

    .nav-item a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .megamenu-panel {
        padding: 0.5rem;
    }
}


/* === lustre-components.css === */
/* Lustre UI Components - TandemX Design System */

:root {
  --lustre-primary: #ff6b35;
  --lustre-secondary: #1a1a1a;
  --lustre-success: #28a745;
  --lustre-danger: #dc3545;
  --lustre-warning: #ffc107;
  --lustre-info: #ff6b35;
  --lustre-light: #fafafa;
  --lustre-dark: #1a1a1a;
  --lustre-white: #ffffff;
  --lustre-black: #1a1a1a;
  --lustre-gray-100: #fafafa;
  --lustre-gray-200: #f5f5f5;
  --lustre-gray-300: #e0e0e0;
  --lustre-gray-400: #bdbdbd;
  --lustre-gray-500: #9e9e9e;
  --lustre-gray-600: #757575;
  --lustre-gray-700: #424242;
  --lustre-gray-800: #212121;
  --lustre-gray-900: #1a1a1a;
  
  --lustre-border-radius: 4px;
  --lustre-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --lustre-transition: all 0.2s ease-in-out;
  --lustre-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* === Buttons === */
.lustre-btn {
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: var(--lustre-border-radius);
  transition: var(--lustre-transition);
  border: 1px solid transparent;
}

.lustre-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

.lustre-btn-primary {
  background-color: var(--lustre-primary);
  color: var(--lustre-white);
}

.lustre-btn-primary:hover {
  background-color: #e55a2b;
}

.lustre-btn-secondary {
  background-color: var(--lustre-secondary);
  color: var(--lustre-white);
}

.lustre-btn-secondary:hover {
  background-color: #333333;
}

.lustre-btn-success {
  background-color: var(--lustre-success);
  color: var(--lustre-white);
}

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

.lustre-btn-danger {
  background-color: var(--lustre-danger);
  color: var(--lustre-white);
}

.lustre-btn-danger:hover {
  background-color: #c82333;
}

.lustre-btn-outline {
  background-color: transparent;
  border-color: currentColor;
}

.lustre-btn-outline-primary {
  color: var(--lustre-primary);
  border-color: var(--lustre-primary);
}

.lustre-btn-outline-primary:hover {
  background-color: var(--lustre-primary);
  color: var(--lustre-white);
}

.lustre-btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.lustre-btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
}

.lustre-btn-block {
  display: block;
  width: 100%;
}

/* === Cards === */
.lustre-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--lustre-white);
  background-clip: border-box;
  border: 1px solid var(--lustre-gray-300);
  border-radius: var(--lustre-border-radius);
  box-shadow: var(--lustre-box-shadow);
}

.lustre-card-header {
  padding: 1rem;
  background-color: var(--lustre-gray-100);
  border-bottom: 1px solid var(--lustre-gray-300);
}

.lustre-card-body {
  flex: 1 1 auto;
  padding: 1rem;
}

.lustre-card-footer {
  padding: 1rem;
  background-color: var(--lustre-gray-100);
  border-top: 1px solid var(--lustre-gray-300);
}

.lustre-card-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.lustre-card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0.5rem;
  color: var(--lustre-gray-600);
}

.lustre-card-img {
  width: 100%;
}

.lustre-card-img-top {
  border-top-left-radius: calc(var(--lustre-border-radius) - 1px);
  border-top-right-radius: calc(var(--lustre-border-radius) - 1px);
}

/* === Form Controls === */
.lustre-form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--lustre-gray-900);
  background-color: var(--lustre-white);
  background-clip: padding-box;
  border: 1px solid var(--lustre-gray-400);
  border-radius: var(--lustre-border-radius);
  transition: var(--lustre-transition);
}

.lustre-form-control:focus {
  color: var(--lustre-gray-900);
  background-color: var(--lustre-white);
  border-color: #ff6b35;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.lustre-form-label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: inline-block;
}

.lustre-form-group {
  margin-bottom: 1rem;
}

.lustre-form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: 0.125rem;
}

.lustre-form-check-input {
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
  margin-left: -1.5em;
  vertical-align: top;
}

.lustre-form-check-label {
  margin-bottom: 0;
}

/* === Alerts === */
.lustre-alert {
  position: relative;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--lustre-border-radius);
}

.lustre-alert-primary {
  color: #8a2a00;
  background-color: #fff4f0;
  border-color: #ffb399;
}

.lustre-alert-secondary {
  color: #383d41;
  background-color: #e2e3e5;
  border-color: #d6d8db;
}

.lustre-alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.lustre-alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.lustre-alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.lustre-alert-info {
  color: #8a2a00;
  background-color: #fff4f0;
  border-color: #ffb399;
}

/* === Badges === */
.lustre-badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.lustre-badge-primary {
  color: var(--lustre-white);
  background-color: var(--lustre-primary);
}

.lustre-badge-secondary {
  color: var(--lustre-white);
  background-color: var(--lustre-secondary);
}

.lustre-badge-success {
  color: var(--lustre-white);
  background-color: var(--lustre-success);
}

.lustre-badge-danger {
  color: var(--lustre-white);
  background-color: var(--lustre-danger);
}

.lustre-badge-warning {
  color: #212529;
  background-color: var(--lustre-warning);
}

.lustre-badge-info {
  color: var(--lustre-white);
  background-color: var(--lustre-info);
}

/* === Spinners === */
.lustre-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: lustre-spinner 0.75s linear infinite;
}

.lustre-spinner-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

@keyframes lustre-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* === Progress Bars === */
.lustre-progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  background-color: var(--lustre-gray-200);
  border-radius: var(--lustre-border-radius);
}

.lustre-progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--lustre-white);
  text-align: center;
  white-space: nowrap;
  background-color: var(--lustre-primary);
  transition: width 0.6s ease;
}

/* === Modals === */
.lustre-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.lustre-modal.show {
  display: block;
}

.lustre-modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
}

.lustre-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--lustre-white);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--lustre-border-radius);
  outline: 0;
}

.lustre-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--lustre-gray-300);
}

.lustre-modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
}

.lustre-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lustre-gray-700);
  cursor: pointer;
}

.lustre-modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.lustre-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid var(--lustre-gray-300);
}

/* === radio.css === */
/* Pockets Radio - CSS Styles */

.pockets-radio {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.radio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Loading States */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  font-size: 1.5rem;
  opacity: 0.8;
}

/* Error Banner */
.error-banner {
  background: #ff4757;
  color: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-error {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-error:hover {
  opacity: 0.7;
}

/* Channel Selector */
.channel-selector {
  margin-bottom: 2rem;
}

.channel-selector h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.channel-button {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  color: white;
  text-align: left;
}

.channel-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.channel-button.selected {
  background: rgba(255, 255, 255, 0.25);
  border-color: #00d2ff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.channel-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.channel-theme {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.channel-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Player */
.player {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

/* Now Playing */
.now-playing {
  text-align: center;
  margin-bottom: 2rem;
}

.now-playing.empty {
  opacity: 0.6;
  font-style: italic;
}

.track-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.track-artist {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Playback Controls */
.playback-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.control-btn, .play-pause-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.play-pause-btn {
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
}

.control-btn:hover, .play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.control-btn:active, .play-pause-btn:active {
  transform: scale(0.95);
}

/* Progress Bar */
.progress-container {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  border-radius: 4px;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.time-display {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  font-family: 'Courier New', monospace;
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.volume-control input[type="range"] {
  width: 150px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00d2ff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.volume-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00d2ff;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Next Tracks Preview */
.next-tracks {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.next-tracks h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  opacity: 0.8;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.track-preview {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: all 0.2s ease;
}

.track-preview:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

/* Admin Panel */
.admin-panel {
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0;
  margin-top: 2rem;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.admin-header h3 {
  margin: 0;
  color: #00d2ff;
  font-size: 1.5rem;
}

.admin-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.admin-close-btn:hover {
  color: #ff4757;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tab {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  font-size: 0.95rem;
}

.admin-tab:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab.active {
  color: #00d2ff;
  border-bottom-color: #00d2ff;
  background: rgba(0, 210, 255, 0.1);
}

/* Admin Content */
.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.admin-section-header h4 {
  margin: 0;
  color: white;
  font-size: 1.2rem;
}

/* Admin Buttons */
.admin-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.admin-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.admin-btn.primary {
  background: rgba(0, 210, 255, 0.2);
  border-color: rgba(0, 210, 255, 0.4);
  color: #00d2ff;
}

.admin-btn.primary:hover {
  background: rgba(0, 210, 255, 0.3);
  border-color: rgba(0, 210, 255, 0.6);
}

.admin-btn.danger {
  background: rgba(255, 71, 87, 0.2);
  border-color: rgba(255, 71, 87, 0.4);
  color: #ff4757;
}

.admin-btn.danger:hover {
  background: rgba(255, 71, 87, 0.3);
  border-color: rgba(255, 71, 87, 0.6);
}

.admin-btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.admin-btn.save {
  background: rgba(46, 213, 115, 0.2);
  border-color: rgba(46, 213, 115, 0.4);
  color: #2ed573;
}

.admin-btn.save:hover {
  background: rgba(46, 213, 115, 0.3);
  border-color: rgba(46, 213, 115, 0.6);
}

/* Channel Management */
.channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-channel-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.admin-channel-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.channel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.channel-header h5 {
  margin: 0;
  font-size: 1.1rem;
  color: white;
}

.channel-theme-badge {
  font-size: 1.2rem;
}

.channel-desc {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.channel-stats {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.channel-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.channel-edit-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-edit-form input,
.channel-edit-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  padding: 0.8rem;
  font-size: 0.95rem;
}

.channel-edit-form input:focus,
.channel-edit-form textarea:focus {
  outline: none;
  border-color: #00d2ff;
  background: rgba(255, 255, 255, 0.15);
}

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

/* Playlist Management */
.playlist-controls {
  display: flex;
  gap: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.playlist-tracks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.admin-track-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.admin-track-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.track-handle {
  color: rgba(255, 255, 255, 0.4);
  cursor: grab;
  user-select: none;
}

.track-handle:active {
  cursor: grabbing;
}

.track-info {
  flex: 1;
}

.track-title {
  font-weight: 500;
  color: white;
  margin-bottom: 0.25rem;
}

.track-artist {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.track-meta {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.track-genre {
  color: #00d2ff;
}

.track-actions {
  display: flex;
  gap: 0.5rem;
}

/* Bumpers Management */
.bumpers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-bumper-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.admin-bumper-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.bumper-content {
  color: white;
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.bumper-meta {
  display: flex;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.bumper-voice {
  color: #00d2ff;
}

.bumper-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Upload Section */
.upload-section {
  margin-bottom: 2rem;
}

.upload-dropzone {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-dropzone:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.upload-dropzone.dragover {
  background: rgba(0, 210, 255, 0.1);
  border-color: #00d2ff;
}

.dropzone-content {
  pointer-events: none;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.upload-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-queue {
  margin-top: 2rem;
}

.upload-queue h5 {
  margin-bottom: 1rem;
  color: white;
}

.queue-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

/* Admin Notices */
.admin-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.admin-error {
  text-align: center;
  color: #ff4757;
  padding: 2rem;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 8px;
}

.loading-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .radio-container {
    padding: 1rem;
  }
  
  .channel-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .channel-button {
    padding: 1rem;
  }
  
  .player {
    padding: 1.5rem;
  }
  
  .track-title {
    font-size: 1.5rem;
  }
  
  .playback-controls {
    gap: 0.8rem;
  }
  
  .control-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .play-pause-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .volume-control input[type="range"] {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .channel-selector h3 {
    font-size: 2rem;
  }
  
  .track-title {
    font-size: 1.3rem;
  }
  
  .track-artist {
    font-size: 1rem;
  }
  
  .next-tracks {
    padding: 1rem;
  }
}

/* Animation for loading states */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.loading {
  animation: pulse 2s infinite;
}

/* Glassmorphism effects */
.channel-button, .player, .next-tracks {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Focus states for accessibility */
.channel-button:focus,
.control-btn:focus,
.play-pause-btn:focus,
.admin-btn:focus {
  outline: 2px solid #00d2ff;
  outline-offset: 2px;
}

/* Custom scrollbar for track lists */
.track-list::-webkit-scrollbar {
  width: 6px;
}

.track-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}


/* === Fallback Styles === */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation fallback */
nav {
  background: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #dee2e6;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #495057;
  font-weight: 500;
}

nav a:hover {
  color: #007bff;
}

/* Button styles */
button {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background: #0056b3;
}

/* Form styles */
input, textarea, select {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 0.5rem;
  font-size: 14px;
}

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

/* Utility classes */
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1rem; }
.p-3 { padding: 1rem; }
.border { border: 1px solid #dee2e6; }
.rounded { border-radius: 4px; }

/* Loading indicator */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: " ⏳";
}
