.citizenDownloadModal .el-dialog {
    position: relative;
    width: min(92vw, 460px);
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(229, 0, 135, 0.4);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(28, 17, 31, 0.2);
}

.citizenDownloadModal .el-dialog::before {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
    content: "";
}

.citizenDownloadModal .el-dialog__header {
    display: none;
}

.citizenDownloadModal .el-dialog__body {
    position: relative;
    z-index: 1;
    padding: 0;
    color: #17171b;
}

.citizenDownloadModal__content {
    position: relative;
    z-index: 1;
}

.citizenDownloadModal__close {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 9px;
    place-items: center;
    color: #68666d;
    border: 1px solid #e8e6e9;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.citizenDownloadModal__close:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

.citizenDownloadModal__close svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.citizenDownloadModal__logo {
    display: flex;
    min-height: 58px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
}

.citizenDownloadModal__logo img {
    width: auto;
    max-width: 150px;
    height: 52px;
    object-fit: contain;
}

.citizenDownloadModal__title {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.6;
}

.citizenDownloadModal__description {
    margin: 4px 0 22px;
    color: #77747c;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.citizenDownloadModal__options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.citizenDownloadModal__option {
    display: flex;
    min-height: 70px;
    padding: 11px 14px;
    align-items: center;
    gap: 12px;
    color: #29272e;
    border: 1px solid #ece9ed;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.citizenDownloadModal__option:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 0, 135, 0.45);
    box-shadow: 0 8px 22px rgba(229, 0, 135, 0.1);
}

.citizenDownloadModal__option--primary {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

.citizenDownloadModal__option--primary:hover {
    border-color: #d90078;
    background: #d90078;
    box-shadow: 0 8px 22px rgba(229, 0, 135, 0.23);
}

.citizenDownloadModal__optionIcon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: var(--primary);
    border-radius: 12px;
    background: rgba(229, 0, 135, 0.09);
}

.citizenDownloadModal__option--primary .citizenDownloadModal__optionIcon {
    color: var(--primary);
    background: #fff;
}

.citizenDownloadModal__optionIcon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.citizenDownloadModal__optionText {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 2px;
}

.citizenDownloadModal__optionText strong {
    font-size: 14px;
    font-weight: 700;
}

.citizenDownloadModal__optionText small {
    color: #89868e;
    font-size: 11px;
}

.citizenDownloadModal__option--primary .citizenDownloadModal__optionText small {
    color: rgba(255, 255, 255, 0.82);
}

.citizenDownloadModal__storeBadge {
    display: flex;
    width: 100%;
    min-height: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    line-height: 0;
    transition: transform 0.2s ease;
}

.citizenDownloadModal__storeBadge:hover {
    transform: translateY(-2px);
}

.citizenDownloadModal__storeBadge img {
    display: block;
    width: min(100%, 340px);
    height: auto;
    object-fit: contain;
}

.citizenDownloadModal__arrow {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transform: rotate(180deg);
}

.citizenDownloadModal__background {
    position: absolute;
    right: -56px;
    bottom: -132px;
    width: 132px;
    opacity: 0.06;
    pointer-events: none;
}

.citizenDownloadModal__background img {
    display: block;
    width: 100%;
}

.citizenDownloadModal :focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.downloadSection .downloadContent > button.contentOption {
    padding: 0;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

@media (max-width: 480px) {
    .citizenDownloadModal .el-dialog {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .citizenDownloadModal__title {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .citizenDownloadModal__option,
    .citizenDownloadModal__close {
        transition: none;
    }
}

.citizenDownloadModal__stores {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.citizenDownloadModal__storesHeading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.citizenDownloadModal__storesHeading span {
    height: 1px;
    flex: 1;
    background: #eee9ed;
}

.citizenDownloadModal__storesHeading small {
    color: #99939b;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Store badges */

.citizenDownloadModal__storesGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 12px;
}

.citizenDownloadModal__storeBadge {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
    transition: transform 0.2s ease;
}

.citizenDownloadModal__storeBadge:hover {
    transform: translateY(-2px);
}

.citizenDownloadModal__storeBadge img {
    display: block;
    width: 100%;
}

/* Small mobile screens */

@media (max-width: 360px) {
    .citizenDownloadModal__storesGrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .citizenDownloadModal__storeBadge {
        max-width: 210px;
    }

    .citizenDownloadModal__storeBadge img {
        max-height: none;
    }
}
