* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
    padding: 48px 16px;
    line-height: 1.5;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 2.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.5rem;
}

.container {
    max-width: 48rem;
    margin: 0 auto;
}

.header {
    margin-bottom: 32px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-text {
    flex: 1;
}

.header h1 {
    color: #0f172a;
    margin-bottom: 8px;
}

.header p {
    color: #475569;
}

/* Language Selector */
.language-selector {
    margin-left: 24px;
}

.select-wrapper {
    position: relative;
    width: 180px;
}

.select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.select-trigger:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.select-trigger.open {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.globe-icon,
.chevron-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.chevron-icon {
    margin-left: auto;
    transition: transform 0.2s;
}

.select-trigger.open .chevron-icon {
    transform: rotate(180deg);
}

#selectedLanguage {
    flex: 1;
    color: #0f172a;
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: none;
    z-index: 50;
    overflow: hidden;
}

.select-dropdown.open {
    display: block;
}

.select-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.15s;
    font-size: 0.875rem;
    color: #0f172a;
}

.select-item:hover {
    background-color: #f1f5f9;
}

.select-item.selected {
    background-color: #eff6ff;
    color: #3b82f6;
}

/* Card */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 24px;
}

/* Tabs */
.tabs {
    width: 100%;
}

.tabs-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.tab-trigger {
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.2s;
}

.tab-trigger:hover {
    color: #0f172a;
}

.tab-trigger.active {
    background: white;
    color: #0f172a;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Accordion */
.accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    color: #0f172a;
    transition: all 0.2s;
}

.accordion-trigger:hover {
    color: #3b82f6;
}

.accordion-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-bottom: 16px;
}

.accordion-content-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.image-placeholder {
    width: 100%;
    height: 325px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.accordion-content p {
    color: #475569;
    line-height: 1.625;
}

/* Footer */
.footer {
    margin-top: 24px;
    text-align: center;
}

.footer p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 24px 16px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .language-selector {
        margin-left: 0;
        width: 100%;
    }

    .select-wrapper {
        width: 100%;
    }

    h1 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}
