﻿.smart-release-modal {
    max-width: 760px;
    width: 100%;
}

.smart-release-surface {
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f7fc;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18);
}

.smart-release-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(180deg, #f8faff 0%, #f3f6fc 100%);
    border-bottom: 1px solid rgba(44, 62, 120, 0.08);
}

.smart-release-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.smart-release-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(72, 99, 214, 0.14);
    border-radius: 6px;
    background: rgba(79, 109, 245, 0.06);
    color: #3c56c7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.smart-release-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    background: rgba(79, 109, 245, 0.08);
    color: #4762d8;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

    .smart-release-close:hover {
        background: rgba(79, 109, 245, 0.14);
        color: #314cbe;
    }

.smart-release-body {
    padding: 18px 20px 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100%), #f5f7fc;
}

.smart-release-overview {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(37, 55, 115, 0.10);
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 6px 18px rgba(18, 28, 45, 0.04);
}

.smart-release-overview-label {
    margin-bottom: 8px;
    color: #7080aa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.smart-release-overview-text {
    color: #34405f;
    font-size: 14px;
    line-height: 1.75;
    white-space: pre-line;
}

.smart-release-scroll {
    max-height: 52vh;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #c4ccdf transparent;
}

    .smart-release-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .smart-release-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .smart-release-scroll::-webkit-scrollbar-thumb {
        background: #c4ccdf;
        border-radius: 6px;
    }

.smart-release-group {
    margin-bottom: 18px;
}

    .smart-release-group:last-child {
        margin-bottom: 0;
    }

.smart-release-group-head {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.smart-release-group-title {
    position: relative;
    margin: 0;
    padding-left: 12px;
    color: #24366e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

    .smart-release-group-title::before {
        content: "";
        position: absolute;
        top: 4px;
        left: 0;
        width: 3px;
        height: calc(100% - 8px);
        border-radius: 2px;
        background: linear-gradient(180deg, #5d7cff 0%, #3e5ddb 100%);
    }

.smart-release-items {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(37, 55, 115, 0.10);
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 6px 18px rgba(18, 28, 45, 0.04);
    overflow: hidden;
}

.smart-release-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 16px;
}

.smart-release-item + .smart-release-item {
    border-top: none;
}

.smart-release-item-dot {
    position: relative;
    top: 6px;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #4b67e8;
    box-shadow: 0 0 0 4px rgba(75, 103, 232, 0.10);
}

.smart-release-item-text {
    color: #435172;
    font-size: 14px;
    line-height: 1.65;
}

.smart-release-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 14px 20px 18px;
    background: #f5f7fc;
    border-top: 1px solid rgba(44, 62, 120, 0.08);
}

.smart-release-history-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(61, 89, 214, 0.14);
    border-radius: 6px;
    background: linear-gradient(135deg, #536ff4 0%, #3957d8 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(57, 87, 216, 0.20);
    transition: all 0.18s ease;
}

    .smart-release-history-link:hover {
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(57, 87, 216, 0.24);
    }

@media (max-width: 768px) {
    .smart-release-modal {
        max-width: calc(100% - 16px);
        margin: 8px auto;
    }

    .smart-release-header,
    .smart-release-body,
    .smart-release-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .smart-release-group-title {
        font-size: 16px;
    }

    .smart-release-scroll {
        max-height: 48vh;
    }

    .smart-release-history-link {
        width: 100%;
    }

    .smart-release-footer {
        justify-content: stretch;
    }
}
