/* =========================================================
   SOLARIA WEBSITE
   DOWNLOAD PAGE
   XP-INSPIRED SOFTWARE DOWNLOAD
========================================================= */


/* =========================================================
   DOWNLOAD PAGE
========================================================= */

.download-page {
    width: 100%;

    padding-bottom: 20px;
}


/* =========================================================
   DOWNLOAD HERO
========================================================= */

.download-hero {
    width: 100%;

    max-width: 1000px;

    margin:
        45px
        auto
        30px;

    padding:
        0
        20px;
}


/* =========================================================
   MAIN DOWNLOAD WINDOW
========================================================= */

.download-window {
    overflow: hidden;

    background: #ece9d8;

    border:
        1px solid
        #245a9b;

    border-radius: 6px;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.35);
}


/* =========================================================
   DOWNLOAD MAIN
========================================================= */

.download-main {
    padding:
        42px
        35px
        45px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.97),
            rgba(236, 233, 216, 0.98)
        );
}


/* =========================================================
   WINDOWS ICON
========================================================= */

.windows-icon {
    width: 72px;

    height: 72px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    grid-template-rows:
        1fr
        1fr;

    gap: 3px;

    margin:
        0
        auto
        20px;

    padding: 3px;

    transform:
        skewY(-3deg);

    filter:
        drop-shadow(
            2px
            3px
            2px
            rgba(0, 0, 0, 0.25)
        );
}


.windows-pane {
    min-width: 0;

    min-height: 0;

    border:
        1px solid
        rgba(0, 0, 0, 0.25);

    box-shadow:
        inset 1px 1px 0
        rgba(255, 255, 255, 0.55);
}


.pane-blue {
    background:
        linear-gradient(
            to bottom right,
            #62afe9,
            #2d72b9
        );
}


.pane-green {
    background:
        linear-gradient(
            to bottom right,
            #82c94c,
            #4c942d
        );
}


.pane-yellow {
    background:
        linear-gradient(
            to bottom right,
            #ffe27b,
            #d5a92f
        );
}


.pane-red {
    background:
        linear-gradient(
            to bottom right,
            #e97768,
            #b94236
        );
}


/* =========================================================
   DOWNLOAD HEADING
========================================================= */

.download-heading {
    max-width: 700px;

    margin:
        0
        auto
        30px;

    text-align: center;
}


.download-label {
    margin-bottom: 5px;

    color: #245a9b;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;
}


.download-heading h1 {
    margin:
        0
        0
        8px;

    color: #000000;

    font-size:
        clamp(
            30px,
            6vw,
            46px
        );
}


.download-heading p {
    max-width: 600px;

    margin:
        0
        auto;

    color: #333333;

    font-size: 15px;
}


/* =========================================================
   DOWNLOAD BOX
========================================================= */

.download-box {
    max-width: 700px;

    margin:
        0
        auto
        25px;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        #7c7c7c;

    border-radius: 4px;

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.2),

        inset 1px 1px 0
        #ffffff;
}


/* =========================================================
   DOWNLOAD BOX HEADER
========================================================= */

.download-box-header {
    min-height: 58px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        10px
        15px;

    background:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #ece9d8 48%,
            #d6d3c6 100%
        );

    border-bottom:
        1px solid
        #8f8f8f;
}


.download-box-header strong {
    display: block;

    color: #245a9b;

    font-size: 17px;
}


.download-box-header span {
    display: block;

    margin-top: 2px;

    color: #444444;

    font-size: 12px;
}


/* =========================================================
   VERSION BADGE
========================================================= */

.version-badge {
    flex-shrink: 0;

    padding:
        5px
        9px;

    color: #000000;

    background:
        linear-gradient(
            to bottom,
            #fffdf0,
            #e8e2bd
        );

    border:
        1px solid
        #999477;

    border-radius: 3px;

    font-size: 12px;

    font-weight: bold;
}


/* =========================================================
   DOWNLOAD BOX BODY
========================================================= */

.download-box-body {
    padding:
        25px
        20px;

    text-align: center;

    background:
        linear-gradient(
            to bottom,
            #ffffff,
            #f4f2e8
        );
}


/* =========================================================
   DOWNLOAD DETAILS
========================================================= */

.download-details {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 10px;

    margin-bottom: 24px;
}


.detail {
    padding:
        12px
        8px;

    background: #f1f0e8;

    border:
        1px solid
        #c0c0c0;

    border-radius: 3px;
}


.detail-label {
    display: block;

    margin-bottom: 3px;

    color: #666666;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;
}


.detail strong {
    color: #245a9b;

    font-size: 14px;
}


/* =========================================================
   DOWNLOAD BUTTON
========================================================= */

.download-button {
    min-height: 54px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: min(
        100%,
        360px
    );

    padding:
        10px
        20px;

    color: #ffffff;

    background:
        linear-gradient(
            to bottom,
            #67b0ec 0%,
            #438fd3 44%,
            #245a9b 100%
        );

    border:
        2px solid
        #173f70;

    border-radius: 4px;

    box-shadow:
        inset 1px 1px 0
        rgba(255, 255, 255, 0.7),

        0 2px 4px
        rgba(0, 0, 0, 0.25);

    font-family:
        Tahoma,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 15px;

    font-weight: bold;

    text-shadow:
        1px 1px 0
        #245a9b;

    cursor: pointer;

    transition:
        filter 0.1s ease,
        transform 0.05s ease;
}


.download-button:hover {
    filter: brightness(1.08);
}


.download-button:active {
    transform: translateY(1px);

    box-shadow:
        inset 1px 2px 3px
        rgba(0, 0, 0, 0.3);
}


.download-button-icon {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 25px;

    height: 25px;

    font-size: 22px;

    line-height: 1;
}


/* =========================================================
   DOWNLOAD STATUS
========================================================= */

.download-status {
    min-height: 20px;

    margin:
        10px
        0
        0;

    color: #555555;

    font-size: 12px;
}


.download-status.ready {
    color: #276a21;

    font-weight: bold;
}


.download-status.error {
    color: #9b2222;

    font-weight: bold;
}


/* =========================================================
   INFORMATION PANELS
========================================================= */

.download-information {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 15px;

    max-width: 700px;

    margin:
        0
        auto;
}


.information-panel {
    padding:
        16px
        18px;

    background:
        linear-gradient(
            to bottom,
            #ffffff,
            #f2f1e9
        );

    border:
        1px solid
        #9a9a9a;

    border-radius: 4px;

    box-shadow:
        0 2px 6px
        rgba(0, 0, 0, 0.15);
}


.information-title {
    margin-bottom: 6px;

    color: #245a9b;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;
}


.information-panel p {
    margin: 0;

    color: #333333;

    font-size: 13px;
}


/* =========================================================
   RELEASE SECTION
========================================================= */

.release-section {
    width: 100%;

    max-width: 1000px;

    margin:
        0
        auto
        30px;

    padding:
        0
        20px;
}


.release-window {
    overflow: hidden;

    background: #ece9d8;

    border:
        1px solid
        #245a9b;

    border-radius: 6px;

    box-shadow:
        0 5px 16px
        rgba(0, 0, 0, 0.25);
}


.release-content {
    padding:
        25px
        30px;

    background:
        linear-gradient(
            to bottom,
            #ffffff,
            #ece9d8
        );
}


.release-content h2 {
    margin:
        0
        0
        5px;

    color: #245a9b;

    font-size: 22px;
}


.release-content > p {
    margin:
        0
        0
        18px;

    color: #333333;

    font-size: 14px;
}


/* =========================================================
   RELEASE LIST
========================================================= */

.release-list {
    border:
        1px solid
        #9a9a9a;

    border-radius: 3px;

    overflow: hidden;

    background: #ffffff;
}


.release-row {
    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        8px
        12px;

    border-bottom:
        1px solid
        #d1d1d1;

    font-size: 13px;
}


.release-row:last-child {
    border-bottom: none;
}


.release-row span {
    color: #555555;
}


.release-row strong {
    color: #245a9b;
}


.release-note {
    margin:
        15px
        0
        0 !important;

    font-size: 12px !important;

    color: #666666 !important;
}


/* =========================================================
   RETURN SECTION
========================================================= */

.return-section {
    display: flex;

    justify-content: center;

    width: 100%;

    padding:
        0
        20px
        35px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .download-hero {
        margin-top: 25px;
    }


    .download-main {
        padding:
            32px
            20px
            35px;
    }


    .download-details {
        grid-template-columns: 1fr;
    }


    .download-information {
        grid-template-columns: 1fr;
    }


    .release-content {
        padding:
            22px
            18px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .download-main {
        padding:
            28px
            14px
            30px;
    }


    .download-box-body {
        padding:
            20px
            12px;
    }


    .download-box-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .version-badge {
        align-self: flex-start;
    }


    .download-button {
        width: 100%;
    }


    .release-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 2px;
    }


    .windows-icon {
        width: 62px;

        height: 62px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .download-button {
        transition: none;
    }

}