.fleetbase-attribution-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.1875rem;
    min-width: 0;
    color: rgb(107 114 128);
    font-size: 0.6875rem;
    line-height: 0.875rem;
    white-space: normal;
}

.fleetbase-attribution-notice--standalone {
    margin-top: 1.25rem;
}

.fleetbase-attribution-notice--sidebar {
    justify-content: flex-start;
}

.fleetbase-attribution-link,
.fleetbase-attribution-legal-link {
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
}

.fleetbase-attribution-link {
    font-weight: 600;
}

.fleetbase-attribution-version {
    color: rgb(156 163 175);
    flex: 0 0 auto;
}

.fleetbase-attribution-separator {
    color: rgb(156 163 175);
    flex: 0 0 auto;
}

.fleetbase-attribution-link:hover,
.fleetbase-attribution-legal-link:hover {
    color: rgb(14 165 233);
    text-decoration: underline;
}

.fleetbase-attribution-legal-link {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.fleetbase-legal-notice-content {
    color: rgb(31 41 55);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-top: 0 !important;
}

.fleetbase-legal-notice-hero {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding-top: 1rem;
}

.fleetbase-legal-notice-hero-main {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-width: 0;
}

.fleetbase-legal-notice-logo {
    flex: 0 0 auto;
    height: 2.5rem;
    object-fit: cover;
    width: 2.5rem;
}

.fleetbase-legal-notice-hero h3 {
    color: rgb(17 24 39);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    margin: 0;
}

.fleetbase-legal-notice-hero p,
.fleetbase-legal-notice-hero span {
    color: rgb(107 114 128);
    font-size: 0.75rem;
    line-height: 1.125rem;
    margin: 0;
}

.fleetbase-legal-notice-hero span {
    flex: 0 0 auto;
    text-align: right;
}

.fleetbase-legal-notice-section {
    display: block;
}

.fleetbase-legal-notice-section h4 {
    color: rgb(17 24 39);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.125rem;
    margin: 0 0 0.375rem;
}

.fleetbase-legal-notice-section p {
    color: rgb(75 85 99);
    font-size: 0.875rem;
    line-height: 1.5rem;
    margin: 0;
}

.fleetbase-legal-notice-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.fleetbase-legal-notice-links a {
    align-items: center;
    background: rgb(255 255 255);
    border: 1px solid rgb(229 231 235);
    border-radius: 0.5rem;
    color: rgb(2 132 199);
    display: flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.5rem;
    line-height: 1.25rem;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
}

.fleetbase-legal-notice-link-icon {
    flex: 0 0 auto;
    font-size: 0.75rem;
}

.fleetbase-legal-notice-links a:hover {
    background: rgb(240 249 255);
    border-color: rgb(186 230 253);
    color: rgb(3 105 161);
    text-decoration: none;
}

body[data-theme='dark'] .fleetbase-attribution-notice {
    color: rgb(156 163 175);
}

body[data-theme='dark'] .fleetbase-attribution-separator {
    color: rgb(107 114 128);
}

body[data-theme='dark'] .fleetbase-attribution-version {
    color: rgb(107 114 128);
}

body[data-theme='dark'] .fleetbase-attribution-link:hover,
body[data-theme='dark'] .fleetbase-attribution-legal-link:hover {
    color: rgb(56 189 248);
}

body[data-theme='dark'] .fleetbase-legal-notice-content {
    color: rgb(229 231 235);
}

body[data-theme='dark'] .fleetbase-legal-notice-links a {
    background: rgb(17 24 39);
    border-color: rgb(55 65 81);
}

body[data-theme='dark'] .fleetbase-legal-notice-hero h3,
body[data-theme='dark'] .fleetbase-legal-notice-section h4 {
    color: rgb(249 250 251);
}

body[data-theme='dark'] .fleetbase-legal-notice-hero p,
body[data-theme='dark'] .fleetbase-legal-notice-hero span,
body[data-theme='dark'] .fleetbase-legal-notice-section p {
    color: rgb(209 213 219);
}

body[data-theme='dark'] .fleetbase-legal-notice-links a {
    color: rgb(56 189 248);
}

body[data-theme='dark'] .fleetbase-legal-notice-links a:hover {
    background: rgb(12 74 110 / 0.3);
    border-color: rgb(14 116 144);
    color: rgb(125 211 252);
}

@media (max-width: 640px) {
    .fleetbase-legal-notice-hero {
        flex-direction: column;
        gap: 0.5rem;
    }

    .fleetbase-legal-notice-hero span {
        text-align: left;
    }

    .fleetbase-legal-notice-links {
        grid-template-columns: 1fr;
    }
}
