:root {
    --kosmo-service-red: #E4483D;
    --kosmo-service-red-hover: #ce3f36;
}

.kosmo-autodealer-card {
    --primary-color: var(--kosmo-service-red) !important;
    --accent-color: var(--kosmo-service-red) !important;
    --brand-color: var(--kosmo-service-red) !important;
}

.kosmo-autodealer-card button[type="submit"],
.kosmo-autodealer-card input[type="submit"],
.kosmo-autodealer-card .kosmo-autodealer-submit {
    background-color: var(--kosmo-service-red) !important;
    border-color: var(--kosmo-service-red) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.kosmo-autodealer-card button[type="submit"]:hover,
.kosmo-autodealer-card input[type="submit"]:hover,
.kosmo-autodealer-card .kosmo-autodealer-submit:hover {
    background-color: var(--kosmo-service-red-hover) !important;
    border-color: var(--kosmo-service-red-hover) !important;
}

.kosmo-autodealer-card input:focus,
.kosmo-autodealer-card textarea:focus,
.kosmo-autodealer-card select:focus {
    border-color: var(--kosmo-service-red) !important;
    box-shadow: 0 0 0 3px rgba(228, 72, 61, 0.15) !important;
    outline: none !important;
}

.kosmo-autodealer-card input[type="checkbox"],
.kosmo-autodealer-card input[type="radio"] {
    accent-color: var(--kosmo-service-red) !important;
}

.kosmo-autodealer-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 82px !important;
    margin: 8px auto 2px !important;
    padding: 4px 12px !important;
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-align: center !important;
}

.kosmo-autodealer-logo {
    display: block !important;
    width: 118px !important;
    height: 76px !important;
    max-width: 118px !important;
    max-height: 76px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.kosmo-autodealer-launcher {
    background-color: var(--kosmo-service-red) !important;
    border-color: var(--kosmo-service-red) !important;
    color: #fff !important;
}

.kosmo-autodealer-launcher:hover {
    background-color: var(--kosmo-service-red-hover) !important;
    border-color: var(--kosmo-service-red-hover) !important;
}

@media (max-width: 600px) {
    .kosmo-autodealer-brand {
        min-height: 70px !important;
    }

    .kosmo-autodealer-logo {
        width: 102px !important;
        height: 66px !important;
    }
}
