* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.logo {
    margin-bottom: 2rem;
    text-align: center;
}

.logo img {
    height: 40px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.login-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.error-message {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.welcome-content, .onboarding-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.selection-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.card-content {
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.technical .card-content,
.non-technical .card-content {
    background-color: #ffffff;
    color: #333;
}

.card input[type="radio"]:checked + label .card-content.technical-content {
    background-color: #111;
    color: white;
}

.card input[type="radio"]:checked + label .card-content.non-technical-content {
    background-color: #111;
    color: white;
}

.code-lines {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.2) 10%,
        transparent 10%,
        transparent 20%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.2) 30%,
        transparent 30%,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 50%,
        transparent 60%,
        rgba(255, 255, 255, 0.2) 60%,
        rgba(255, 255, 255, 0.2) 70%
    );
}

.placeholder-blocks {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.placeholder-blocks::before,
.placeholder-blocks::after {
    content: "";
    background-color: #ddd;
    border-radius: 4px;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.navigation-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.next-button {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.back-button {
    background: none;
    border: none;
    color: #666;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    margin-left: 1rem;
}

.use-case-content {
    max-width: 800px;
    width: 100%;
}

.form-section {
    margin-bottom: 2rem;
    text-align: left;
}

.form-section label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.use-case-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.option {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.option:hover {
    border-color: #999;
}

.option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.option input[type="radio"]:checked + label {
    font-weight: 500;
}

.option.selected {
    background-color: #f0f0f0;
    border-color: #333;
}

.icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.custom-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

.breadcrumb {
    margin-left: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb span {
    margin: 0 0.25rem;
}

.main-nav {
    display: flex;
    margin-right: 1rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.main-nav a.active {
    font-weight: 500;
}

.user-menu {
    display: flex;
    align-items: center;
}

.user-menu button {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    cursor: pointer;
}

.profile-btn {
    background-color: #2e7d32 !important;
    color: white;
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 120px;
    z-index: 1000;
    margin-top: 5px;
}

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

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dashboard-content {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 220px;
    background-color: white;
    border-right: 1px solid #eee;
    padding: 1rem 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.sidebar-item.active {
    background-color: #f0f0f0;
    color: #333;
    font-weight: 500;
}

.sidebar-item .icon {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    padding: 2rem;
    position: relative;
}

.setup-steps {
    max-width: 700px;
}

.step {
    margin-bottom: 3rem;
}

.step h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.code-block {
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.code-header {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #eee;
    font-size: 0.8rem;
    color: #666;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    font-family: monospace;
}

.api-key-form {
    margin-top: 1rem;
}

.checklist-sidebar {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #2e7d32;
}

.checklist-items {
    margin-bottom: 2rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

.completed .check-icon {
    background-color: #2e7d32;
    color: white;
}

.resources {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.resources h3 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.resources a {
    display: block;
    color: #2e7d32;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .selection-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 300px;
    }
    
    .dashboard-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .checklist-sidebar {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    color: #333;
}

.logo-img {
    height: 40px;
    width: 40px;
    margin-right: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.avatar-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #4f46e5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}


.language-selector {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.language-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.language-option {
    flex: 1;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.language-option:hover {
    border-color: #4f46e5;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.language-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.language-option input[type="radio"]:checked + .language-flag + .language-name {
    color: #4f46e5;
    font-weight: 600;
}

.language-option input[type="radio"]:checked ~ * {
    color: #4f46e5;
}

.language-option:has(input[type="radio"]:checked) {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.language-flag {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
}

.language-name {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.3s ease;
}

.language-preview {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.preview-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.preview-content {
    font-size: 1rem;
    color: #374151;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 6px;
    border-left: 3px solid #4f46e5;
}

@media (max-width: 768px) {
    .language-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .language-option {
        padding: 0.75rem;
    }
    
    .language-flag {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
    
    .language-name {
        font-size: 0.875rem;
    }
}

@media (prefers-color-scheme: dark) {
    .language-selector {
        background: #1f2937;
        border-color: #374151;
    }
    
    .language-option {
        background: #111827;
        border-color: #374151;
    }
    
    .language-option:hover {
        background: #1f2937;
        border-color: #6366f1;
    }
    
    .language-option:has(input[type="radio"]:checked) {
        background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
        border-color: #6366f1;
    }
    
    .language-name {
        color: #f9fafb;
    }
    
    .language-preview {
        background: #111827;
        border-color: #374151;
    }
    
    .preview-label {
        color: #9ca3af;
    }
    
    .preview-content {
        color: #f9fafb;
        background: #374151;
        border-left-color: #6366f1;
    }
}


.language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-toggle:hover {
    background: var(--hover-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-flag {
    font-size: 16px;
}

.language-name {
    font-weight: 500;
}

.language-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    min-width: 150px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background: var(--hover-bg);
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option .language-flag {
    font-size: 16px;
}

.language-option .language-name {
    font-weight: 500;
}

