:root {
    --primary: #2A2F3A;
    --primary-light: #323846;
    --accent: #7ED6C8;
    --accent-hover: #6bc4b6;
    --text: #1A2433;
    --text-light: #5B6B82;
    --bg: #F7F9FC;
    --white: #ffffff;
    --border: #E4E8F0;
    --success: #38a169;
    --error: #e53e3e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.navbar {
    background: var(--primary);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link {
    color: var(--white);
    text-decoration: none;
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-accent {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
}

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

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--text);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.btn-icon:hover {
    color: var(--error);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.project-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-card h3 {
    color: var(--text);
    font-size: 1.25rem;
}

.project-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 1000;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 700px;
}

.modal-xlarge {
    max-width: 1100px;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-checkout {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.checkout-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

#checkout-container {
    min-height: 400px;
}

.chat-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: calc(100vh - 60px);
}

.sidebar {
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 1.5rem;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.sidebar-section h4 {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.file-list {
    margin-bottom: 1rem;
}

.file-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.file-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.file-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.empty-text {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.upload-form {
    margin-top: 1rem;
}

.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.welcome-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.welcome-message h2 {
    color: var(--text);
    margin-bottom: 1rem;
}

.message {
    margin-bottom: 1.5rem;
    max-width: 80%;
}

.message-user {
    margin-left: auto;
}

.message-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.message-content {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    white-space: pre-wrap;
}

.message-user .message-content {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.chat-input-form {
    padding: 1rem 2rem 2rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.chat-input-form textarea {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
}

.chat-input-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.brd-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.brd-section {
    background: var(--bg);
    border-radius: 8px;
    padding: 1rem;
}

.brd-section h3 {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.brd-content {
    font-size: 0.85rem;
    line-height: 1.7;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
    background: var(--white);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.brd-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .brd-results {
        grid-template-columns: 1fr;
    }
}

.navbar {
    justify-content: space-between;
}

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

.nav-actions .btn {
    text-decoration: none;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-page {
    background: var(--white);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-actions .btn {
    text-decoration: none;
}

.hero-actions .btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.features {
    padding: 5rem 2rem;
    background: var(--bg);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.feature-card h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.how-it-works {
    padding: 5rem 2rem;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.cta-section {
    padding: 5rem 2rem;
    background: var(--primary);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
}

.cta-section .btn-primary:hover {
    background: var(--accent-hover);
}

.footer {
    padding: 3rem 2rem;
    background: var(--bg);
    text-align: center;
}

.footer-brand {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.footer-brand .logo-text {
    color: var(--text);
    opacity: 1;
}

.footer-brand .logo-accent {
    color: var(--accent);
    opacity: 1;
}

.footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-contact {
    margin-top: 1rem;
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
}

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

.footer-copyright {
    margin-top: 0.5rem;
    opacity: 0.7;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.legal-content {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    color: var(--text);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--text);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.footer-minimal {
    padding: 1.5rem 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    margin-right: 1rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link-active {
    opacity: 1;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.pricing-hero {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-plans {
    padding: 4rem 2rem;
    background: var(--bg);
}

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

.plan-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card.plan-featured {
    border: 2px solid var(--accent);
    transform: scale(1.02);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.plan-header h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.plan-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.pricing-faq {
    padding: 4rem 2rem;
    background: var(--white);
}

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

.faq-item h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.pricing-contact {
    padding: 4rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.pricing-contact h2 {
    margin-bottom: 1rem;
}

.pricing-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.pricing-contact a:hover {
    text-decoration: underline;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    color: var(--text);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

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

.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-error {
    background: #fed7d7;
    color: var(--error);
    border: 1px solid #fc8181;
}

.download-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.download-section a {
    text-decoration: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: var(--white);
    font-size: 0.9rem;
}

.btn-logout {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    text-decoration: none;
}

.btn-logout:hover {
    background: rgba(255,255,255,0.1);
}

.form-hint {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-status {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    display: inline-block;
}

.file-status.ready {
    background: #c6f6d5;
    color: #22543d;
}

.file-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.delete-file-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
}

.delete-file-btn:hover {
    opacity: 1;
    color: var(--error);
}

.rto-status {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #edf2f7;
    color: var(--text);
}

.rto-status.success {
    background: #c6f6d5;
    color: #22543d;
}

.rto-status.error {
    background: #fed7d7;
    color: #c53030;
}

.flash-messages {
    padding: 0.75rem 1.5rem;
    background: #fff3cd;
    border-bottom: 1px solid #ffc107;
}

.flash-message {
    color: #856404;
    font-size: 0.9rem;
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.nav-tabs {
    display: flex;
    gap: 0.5rem;
}

.nav-tab {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.nav-tab.active {
    background: var(--accent);
    color: var(--primary);
}

.handover-layout {
    display: flex;
    height: calc(100vh - 60px);
}

.handover-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: var(--bg);
}

.handover-content {
    max-width: 900px;
    margin: 0 auto;
}

.handover-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.handover-empty h2 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.handover-document {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.handover-document .handover-title {
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.handover-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.handover-section:last-child {
    border-bottom: none;
}

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

.section-header h2 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0;
}

.section-content {
    color: var(--text);
    line-height: 1.7;
}

.section-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.section-content li {
    margin-bottom: 0.25rem;
}

.handover-metadata {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.metadata-section {
    margin-bottom: 1rem;
}

.metadata-section:last-child {
    margin-bottom: 0;
}

.metadata-section h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.metadata-section ul {
    margin: 0;
    padding-left: 1.5rem;
}

.handover-list {
    max-height: 200px;
    overflow-y: auto;
}

.handover-item {
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    background: var(--bg-secondary);
    transition: background 0.2s;
}

.handover-item:hover {
    background: var(--accent);
    color: var(--primary);
}

.handover-item .handover-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
}

.handover-item .handover-date {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

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

.copy-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.admin-banner {
    background: #fff3cd;
    border-bottom: 1px solid #ffc107;
    color: #856404;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.admin-banner strong {
    color: #664d03;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn.loading {
    cursor: wait;
    opacity: 0.8;
}

.btn.loading:disabled {
    background: var(--accent);
}
