:root {
    --font-heebo: 'Heebo', sans-serif;
    --bg-white: #ffffff;
    --bg-dropdown: #F5F5F5;
    --text-black: #000000;
    --text-subtitle: #282830;
    --text-muted: #494950;
    --border-ui: #e8e8e8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-heebo);
    background-color: var(--bg-white);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding-top: 100px;
    color: #282830;
    display: inherit;
    direction: rtl;
}

.tci-wrapper {
    width: 100%;
    max-width: 580px;
    padding: 0 15px;
    text-align: center;
    margin: 50px auto;
}

.tci-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
}

.tci-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 400;
}

.tci-dropdown-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    /* height: 150px; */
}

.tci-select-box {
    background-color: var(--bg-dropdown);
    border-radius: 4px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s ease;
    max-height: 45px;
    flex-direction: row-reverse;
}

.tci-select-box:hover {
    background-color: #ededed;
}

.tci-select-text {
    font-size: 16px;
    color: #282830;
    font-weight: 300;
}

.tci-arrow-svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.tci-arrow-svg.rotated {
    transform: rotate(180deg);
}

.tci-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    border: 1px solid var(--border-ui);
    margin-top: 4px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: right;
    border-radius: 4px;
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
}

.tci-dropdown-menu.show {
    display: block;
}

.option,
.tci-option {
    padding: 12px 22px;
    cursor: pointer;
    border-bottom: 1px solid #f9f9f9;
}
.option:hover,
.tci-option:hover {
    background-color: #f5f5f5;
}

#tciMainDisplay {
    width: 100%;
}

.tci-empty-message {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 300;
    line-height: 100px;
}

/* Update to existing content-box */
.tci-content-box {
    margin-top: 25px;
    border-radius: 4px;
    border: 0;
     /* Remove top margin if the dropdown touches it */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.tci-detail-card {
    width: 100%;
    animation: fadeIn 0.4s ease;
}

/* Info Bar Section */
.tci-card-info {
    background-color: #F9F9F9; /* Very light gray bar */
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
}

.tci-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.tci-model-name {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.tci-model-english {
    font-size: 16px;
    color: #494950;
    display: block;
    font-weight: 300;
}

/* Primary Button - Pixel Perfect Black */
.tci-btn-catalog {
    background-color: #101010;
    color: #ffffff;
    border: none;
    padding: 10px 35px;
    max-height: 42px;
    font-family: var(--font-heebo);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tci-btn-catalog:hover {
    opacity: 0.9;
}

/* Image Section */
.tci-card-visual {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tci-car-image {
    /* max-width: 450px; */
    /* width: 100%; */
    /* height: auto; */
    object-fit: contain;
    max-width: 325px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}