﻿.contact-header {
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(182, 0, 2, 0.05) 0%, rgba(182, 0, 2, 0.00) 100%);
}

.contact-card-list {
    display: flex;
    column-gap: 20px;
}

.contact-card-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background-color: #fff;
}

.contact-card-item-image {
    width: 42px;
    height: 42px;
}

.contact-card-item-title {
    color: #DA0011;
    font-size: 18px;
    font-weight: 700;
}

.contact-card-item-content {
    font-size: 16px;
    font-weight: 400;
}

.contact-main {
    display: flex;
    column-gap: 24px;
    margin-bottom: 40px;
}

.contact-main-left,
.contact-main-right {
    flex: 1;
}

.contact-map {
    margin-bottom: 40px;
}

.contact-other-wrapper {
    padding: 20px;
    border-top: 2px solid #B60002;
    border-radius: 4px;
    border: 1px solid #E4E4E4;
    border-top-color: #B60002;
    background-color: #fff;
    overflow: hidden;
}

.contact-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-header {
    margin-left: -20px;
    margin-top: -20px;
}

.contact-other-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding: 20px 0 0;
}

.contact-form-row {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.contact-form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.contact-form-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.contact-form-required {
    color: #FF4301;
}

.contact-form-textarea {
    min-height: 140px;
    font-size: 16px;
    font-weight: 400;
    line-height: 162.023%;
}

.contact-form-btn {
    padding: 10px 0;
    border: none;
    color: #fff;
    background-color: #B60002;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 162.023%;
    transition: opacity linear 0.2s;
}

.contact-form-btn:hover {
    opacity: 0.8;
}

.contact-city-section {
    width: 100%;
}

.contact-section-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

.contact-city-input-wrapper {
    position: relative;
    width: 100%;
    margin-top: 6px;
}

.contact-city-input-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 16px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background-color: #fff;
}

.contact-city-input-wrapper input:hover {
    border-color: #b10000;
}

.contact-city-input-wrapper input:focus {
    border-color: #b10000;
    box-shadow: 0 0 0 3px rgba(177, 0, 0, 0.15);
}

.contact-dropdown-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #555;
    pointer-events: none;
    transition: transform .2s ease;
}

.contact-city-input-wrapper.open .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.contact-city-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: none;
    z-index: 99;
}

.contact-city-dropdown li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.contact-city-dropdown li:hover {
    background: #f2f2f2;
}

.contact-city-dropdown li.selected {
    background: #b10000;
    color: white;
}

@media only screen and (max-width: 768px) {
    .contact-card-list {
        flex-direction: column;
        row-gap: 10px;
    }

    .contact-header {
        padding: 10px 0;
    }

    .contact-main {
        flex-direction: column;
        row-gap: 10px;
        margin-bottom: 10px;
    }

    .contact-map {
        margin-bottom: 10px;
        height: 50%;
    }
}