:root {
    /* NNIT UI Colors */
    --bg: #f5f6f8;
    --panel: #ffffff;
    --ink: #0f172a;
    --muted: #6b7280;
    --soft: #e5e7eb;
    --accent: #FF88AA;
    --primary: #780000;
    --good: #16a34a;
    --warning: #f59e0b;

    /* NNIT Brand Colors */
    --nnit-red: #780000;
    --blue-1: #034260;
    --blue-2: #93C3DF;
    --blue-3: #DBEBF3;
    --turquoise-1: #76BABA;
    --turquoise-2: #B9DDDD;
    --turquoise-3: #E8F4F4;
    --cta-pink: #FF88AA;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--blue-1) 100%);
    --gradient-success: linear-gradient(135deg, var(--turquoise-1) 0%, var(--turquoise-2) 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


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

/* Navigation */
.navbar {
    background: var(--nnit-red);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    max-width: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: bold;
}

@media (min-width: 769px) {
    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    flex-wrap: nowrap;
    align-items: center;
    flex: 1;
    justify-content: center;
    font-size: 0.9rem;
}

.nav-menu li {
    white-space: nowrap;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
    color: white;
    font-size: 0.9rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: var(--nnit-red);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

/* Search Box */
.search-box {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group > label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.radio-group label:hover,
.checkbox-group label:hover {
    background-color: #f8f9fa;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

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

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

.btn-danger {
    background: #dc3545;
    color: white;
}

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

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
}

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

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Results Section */
.results-section {
    margin: 2rem 0;
}

.results-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.flight-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.flight-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.flight-route {
    font-size: 1.1rem;
    color: #333;
}

.flight-time {
    color: #666;
    font-size: 0.9rem;
}

.flight-price {
    text-align: right;
}

.flight-price .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.modal-content.success {
    text-align: center;
}

.modal-content.success h2 {
    color: #28a745;
    margin-bottom: 1.5rem;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* Tables */
.table-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.data-table th {
    background: var(--primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
}

.data-table th:hover {
    opacity: 0.9;
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ddd;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

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

.table-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.search-input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    min-width: 200px;
}

/* Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

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

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

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

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

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

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

/* Login Page */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.login-box h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
    padding: 0.5rem 0;
}

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

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
}

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

.test-credentials {
    background: #f8f9fa;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary);
}

.test-credentials h3 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.test-credentials ul {
    list-style: none;
    font-size: 0.875rem;
}

.test-credentials code {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
}

/* Form Container */
.form-container {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Element Sections */
.element-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.element-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: var(--nnit-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: width 0.3s;
}

/* Dynamic Content */
.dynamic-content {
    margin-top: 1rem;
    padding: 1rem;
    border: 2px dashed #ddd;
    border-radius: 4px;
    min-height: 100px;
}

/* Item List */
.item-list {
    margin: 1rem 0;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Tooltip */
.tooltip-container {
    text-align: center;
    padding: 2rem;
}

.tooltip-trigger {
    position: relative;
}

.tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-trigger:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

/* Leapwork Slide System */
.intro-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.intro-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 60px 40px;
    text-align: center;
}

.intro-title {
    font-size: 2.5rem;
    color: var(--nnit-red);
    margin: 0 0 20px 0;
}

.intro-description {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.intro-details {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.intro-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.intro-icon {
    font-size: 2.5rem;
}

.intro-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.start-button {
    background: var(--nnit-red);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(120, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 0, 0, 0.4);
    opacity: 0.9;
}

.slide-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

.slide-container {
    width: 1000px;
    max-width: 1000px;
    position: relative;
}

.slide {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: none;
    height: 800px;
}

.slide.active {
    display: flex;
    flex-direction: column;
}

.slide-header {
    background: var(--nnit-red);
    color: white;
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
}

.slide-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.slide-header .icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.slide-content {
    padding: 20px 30px 60px 30px;
    flex: 1;
    overflow-y: auto;
}

.slide-content::-webkit-scrollbar {
    width: 8px;
}

.slide-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.slide-content::-webkit-scrollbar-thumb {
    background: var(--nnit-red);
    border-radius: 4px;
}

.slide-content::-webkit-scrollbar-thumb:hover {
    background: var(--nnit-red);
}

.slide-content .bullet-points {
    list-style: none;
    padding: 0;
}

.slide-content .bullet-points li {
    padding: 8px 0;
    font-size: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.slide-content .bullet-points li:last-child {
    border-bottom: none;
}

.slide-content .bullet-points li::before {
    content: "\2713";
    color: var(--nnit-red);
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 10px;
}

.key-takeaway {
    background: var(--blue-3);
    color: var(--ink);
    padding: 12px 18px;
    border-radius: 8px;
    margin: 15px 0 10px 0;
    border-left: 4px solid var(--blue-1);
}

.key-takeaway h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: var(--blue-1);
}

.key-takeaway p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.leapwork-example {
    background: #fff3e0;
    border-left: 4px solid var(--warning);
    padding: 12px;
    border-radius: 4px;
    margin: 12px 0;
}

.leapwork-example h4 {
    margin: 0 0 10px 0;
    color: #e65100;
    font-size: 1rem;
}

.building-blocks {
    background: white;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #ffcc80;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--ink);
    white-space: pre-line;
}

.nav-side-button {
    background: var(--nnit-red);
    color: white;
    padding: 0;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

#prevBtn {
    left: calc(50% - 620px);
}

#nextBtn {
    right: calc(50% - 620px);
}

.nav-side-button:hover:not(.disabled) {
    opacity: 0.85;
    transform: translateY(-50%) scale(1.05);
}

.nav-side-button.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.3;
    box-shadow: none;
}

.slide-counter {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.slide-counter span {
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table td {
    width: 50%;
    padding: 15px;
    vertical-align: top;
}

.comparison-table td:first-child {
    border-right: 2px solid #e0e0e0;
}

.comparison-table h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--nnit-red);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .flight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .flight-price {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Dynamic List Styles */
.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-controls select {
    max-width: 200px;
}

.destination-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.destination-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.destination-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.destination-item.highlight-duplicate {
    animation: highlightPulse 1s ease-in-out;
    border-color: #dc3545;
}

@keyframes highlightPulse {
    0%, 100% { background-color: white; }
    50% { background-color: #ffe6e6; }
}

.destination-content {
    flex: 1;
}

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

.destination-header h3 {
    margin: 0;
    color: #333;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-high {
    background: #fee;
    color: #c00;
}

.priority-medium {
    background: #ffc;
    color: #960;
}

.priority-low {
    background: #efe;
    color: #060;
}

.destination-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.country-flag {
    font-size: 1.2rem;
}

.separator {
    color: #ccc;
}

.date-added {
    font-size: 0.85rem;
}

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

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1.1rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: var(--nnit-red);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.test-steps {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.test-steps ol {
    margin-left: 1.5rem;
}

.test-steps li {
    margin-bottom: 0.5rem;
}

/* Challenges Styles */
.instructions-box {
    background: var(--nnit-red);
    color: white;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.instructions-box h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.instructions-box ol {
    margin-left: 1.5rem;
    line-height: 1.8;
}

.instructions-box ol li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.challenge-progress {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.challenge-card {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary);
}

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

.challenge-number {
    background: var(--nnit-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.challenge-difficulty {
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.difficulty-easy {
    background: #d4edda;
    color: #155724;
}

.difficulty-medium {
    background: #fff3cd;
    color: #856404;
}

.difficulty-hard {
    background: #f8d7da;
    color: #721c24;
}

.difficulty-expert {
    background: #d1ecf1;
    color: #0c5460;
}

.challenge-status {
    margin-left: auto;
    font-weight: bold;
    font-size: 1.1rem;
}

.challenge-content {
    margin-top: 1.5rem;
}

.challenge-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

.instruction-box {
    background: #e7f3ff;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #0066cc;
}

.highlight-text {
    background: #ffeb3b;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: bold;
}

.loading-spinner {
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scroll-box {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    height: 300px;
    overflow-y: scroll;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

.code-box {
    background: #333;
    color: #0f0;
    padding: 1rem;
    border-radius: 4px;
    font-family: monospace;
    text-align: center;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}

.step.active {
    background: var(--nnit-red);
    color: white;
}

.step.completed {
    background: #28a745;
    color: white;
}

.form-step {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.summary-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
}

.summary-box p {
    margin: 0.5rem 0;
}

.sum-display {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.requirements-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.requirement {
    padding: 0.5rem;
    margin: 0.5rem 0;
    font-weight: 500;
}

.final-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.final-step {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.final-step h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.final-step input, .final-step select {
    margin-right: 0.5rem;
}

.step-status {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .challenge-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .challenge-status {
        margin-left: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Timer Styles */
.timer-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

#timerDisplay {
    background: var(--nnit-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#timerDisplay h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

#timerMinutes, #timerSeconds {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: #ffeb3b;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333 !important;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--primary);
    color: white !important;
}

/* Nested Dropdown / Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1001;
}

.dropdown-submenu:hover .dropdown-submenu-content {
    display: block;
}

.dropdown-submenu > a::after {
    content: " ▶";
    font-size: 0.75rem;
    float: right;
}

.dropdown-submenu-content li {
    margin: 0;
}

.dropdown-submenu-content a {
    display: block;
    padding: 0.6rem 1rem;
    color: #666 !important;
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-submenu-content a:hover {
    background: #f0f0f0;
    color: var(--primary) !important;
}

/* Difficulty Headers */
.difficulty-header {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: white;
}

.difficulty-easy-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.difficulty-medium-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.difficulty-hard-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.difficulty-header .subtitle {
    color: white;
}

/* API Response */
.api-info {
    background: #e7f3ff;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.api-info code {
    background: #333;
    color: #0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.api-response {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    max-height: 300px;
    overflow-y: auto;
}

.api-response pre {
    margin: 0;
    font-size: 0.85rem;
}

/* RegEx Hints */
.hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Destination Buttons */
.destination-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.btn-destination {
    padding: 0.75rem;
    border: 2px solid var(--primary);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-destination:hover {
    background: var(--nnit-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(120, 0, 0, 0.3);
}

/* Ingen visual feedback - brugeren skal selv tracke! */

.selected-tag {
    display: inline-block;
    background: var(--nnit-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.25rem;
}

.selected-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 0.5rem;
    font-weight: bold;
}

/* Role Buttons */
.role-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.btn-role {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-role:hover:not(:disabled) {
    background: var(--nnit-red);
    color: white;
}

.btn-role:disabled {
    background: #e9ecef;
    border-color: #ccc;
    color: #999;
}

/* Help Slide Panel */
.help-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--nnit-red);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.3s;
    z-index: 10;
}

.help-btn:hover {
    opacity: 0.9;
}

.help-panel {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.help-panel.open {
    right: 0;
}

.help-panel-header {
    background: var(--nnit-red);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.help-panel-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.help-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.help-close-btn:hover {
    background: rgba(255,255,255,0.3);
}

.help-panel-content {
    padding: 2rem;
}

.help-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.help-section h3 {
    margin-top: 0;
    color: var(--primary);
    font-size: 1.3rem;
}

.help-section h4 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.help-section code {
    background: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: #dc3545;
    font-size: 0.9rem;
}

.help-section pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.6;
}

.help-section pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.help-example {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    border: 1px solid #dee2e6;
}

.help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.help-overlay.active {
    display: block;
}

.help-info-box {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-left: 4px solid #17a2b8;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.help-warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Hover Menu */
.hover-menu {
    position: relative;
    display: inline-block;
}

.hover-menu-items {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.hover-menu:hover .hover-menu-items {
    display: block;
}

.hover-menu-items div {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.hover-menu-items div:hover {
    background: #f1f1f1;
}

/* Navigation Box */
.navigation-box {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0;
}

.next-level-box {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

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

.completion-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.selection-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.selected-items {
    min-height: 50px;
    margin-top: 0.5rem;
}
