﻿/* ==============================
   Download Box
   ============================== */

.download-box {
    direction: rtl;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e4e8e8;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}


    /* Hover کل باکس */
    .download-box:hover {
        transform: translateY(-3px);
        border-color: #d49a32;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.11);
    }


/* ==============================
   File Icon
   ============================== */

.download-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    background: linear-gradient( 135deg, #12635e, #19847d );
    color: #ffffff;
    border-radius: 16px;
    font-size: 30px;
    box-shadow: 0 6px 15px rgba(18, 99, 94, 0.20);
    transition: all 0.3s ease;
}


.download-box:hover .download-icon {
    transform: rotate(-5deg) scale(1.05);
}


/* ==============================
   File Information
   ============================== */

.download-info {
    flex: 1;
    min-width: 0;
}


    .download-info h3 {
        margin: 0 0 7px 0;
        color: #263333;
        font-family: Tahoma, Arial, sans-serif;
        font-size: 18px;
        font-weight: bold;
    }


    .download-info p {
        margin: 0 0 10px 0;
        color: #777777;
        font-family: Tahoma, Arial, sans-serif;
        font-size: 13px;
        line-height: 1.8;
    }


/* ==============================
   File Details
   ============================== */

.file-details {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}


    .file-details span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 9px;
        background: #f4f6f6;
        color: #777777;
        border-radius: 7px;
        font-family: Tahoma, Arial, sans-serif;
        font-size: 11px;
    }


        .file-details span i {
            color: #12635e;
        }


/* ==============================
   Download Button
   ============================== */

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 135px;
    padding: 12px 18px;
    margin-right: 20px;
    background: #d49a32;
    color: #ffffff !important;
    border-radius: 11px;
    text-decoration: none !important;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 5px 12px rgba(212, 154, 50, 0.22);
    transition: all 0.3s ease;
}


    .download-btn i {
        font-size: 16px;
    }


    .download-btn:hover {
        background: #bd8425;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 7px 16px rgba(212, 154, 50, 0.30);
    }


    .download-btn:active {
        transform: translateY(0);
    }


/* ==============================
   Mobile
   ============================== */

@media (max-width: 600px) {

    .download-box {
        padding: 17px;
        border-radius: 15px;
        flex-wrap: wrap;
    }


    .download-icon {
        width: 58px;
        height: 58px;
        min-width: 58px;
        margin-left: 12px;
        border-radius: 13px;
        font-size: 25px;
    }


    .download-info {
        flex: 1;
        width: calc(100% - 70px);
    }


        .download-info h3 {
            font-size: 16px;
        }


        .download-info p {
            font-size: 12px;
            margin-bottom: 7px;
        }


    .download-btn {
        width: 100%;
        margin-right: 0;
        margin-top: 12px;
        padding: 12px;
        box-sizing: border-box;
    }
}
