/*==========================================
DNM Dashboard
Elementor Safe v3
==========================================*/
.dnm-dashboard,
.dnm-dashboard *{
    font-family: "Vazirmatn", sans-serif !important;
}
.dnm-dashboard,
.dnm-dashboard *{
    box-sizing:border-box;
}

.dnm-dashboard{

    --primary:#d32f2f;
    --primary-dark:#b71c1c;
    --primary-light:#fff2f2;

    --white:#ffffff;

    --bg:#f5f6fa;

    --text:#222;

    --text-light:#777;

    --border:#ececec;

    --radius:20px;

    --shadow:0 12px 35px rgba(0,0,0,.08);

    --transition:.25s ease;

    display:flex;

    direction:rtl;

    gap:30px;

    padding:30px;

    background:var(--bg);

    border-radius:24px;

    align-items:flex-start;

    font-family:inherit;

}


/*==========================
Sidebar
==========================*/

.dnm-dashboard .dnm-sidebar{

    width:290px;

    flex-shrink:0;

    background:#fff;

    border-radius:24px;

    padding:28px;

    box-shadow:var(--shadow);

    position:sticky;

    top:25px;

}


.dnm-dashboard .user-box{

    text-align:center;

    border-bottom:1px solid var(--border);

    padding-bottom:25px;

}


.dnm-dashboard .user-avatar{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    overflow:hidden;

    border:4px solid #f2f2f2;

}


.dnm-dashboard .user-avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}


.dnm-dashboard .user-name{

    margin:18px 0 8px;

    font-size:20px;

    font-weight:700;

    color:var(--text);

}


.dnm-dashboard .user-box p{

    margin:0;

    color:var(--text-light);

    line-height:1.9;

    font-size:14px;

}


/*==========================
Menu
==========================*/

.dnm-dashboard .dashboard-menu{

    display:flex;

    flex-direction:column;

    gap:10px;

    margin-top:28px;

}


.dnm-dashboard .menu-item{

    position:relative;

    overflow:hidden;

    width:100%;

    display:flex;

    align-items:center;

    gap:14px;

    padding:15px 18px;

    background:#fff;

    border:none;

    border-radius:14px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    color:#444;

    transition:all .25s ease;

}


.dnm-dashboard .menu-item:hover{

    background:var(--primary-light);

    color:var(--primary);

}


.dnm-dashboard .menu-item.active{

    background:var(--primary);

    color:#fff;

}


.dnm-dashboard .icon{

    font-size:20px;

}


.dnm-dashboard .logout-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-top:15px;

    padding:15px;

    background:#f7f7f7;

    border-radius:14px;

    text-decoration:none;

    color:#555;

    font-weight:700;

    transition:.25s;

}


.dnm-dashboard .logout-btn:hover{

    background:var(--primary);

    color:#fff;

}


/*==========================
Content
==========================*/

.dnm-dashboard .dashboard-content{

    flex:1;

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:var(--shadow);

    min-height:750px;

}


.dnm-dashboard .tab{

    display:none;

    animation:dnmFade .35s;

}


.dnm-dashboard .tab.active{

    display:block;

}


/*==========================
Welcome
==========================*/

.dnm-dashboard .welcome-box{

    padding:35px;

    border-radius:22px;

    margin-bottom:35px;

    color:#fff;

    background:linear-gradient(135deg,#d32f2f,#ef5350);

}


.dnm-dashboard .welcome-box h2{

    margin:0 0 12px;

    font-size:28px;

}


.dnm-dashboard .welcome-box p{

    margin:0;

    line-height:2;

}
/*==========================================
SECTION TITLE
==========================================*/

.dnm-dashboard .tab h2{

    margin:0 0 25px;

    font-size:28px;

    color:#222;

}


/*==========================================
DASHBOARD CARDS
==========================================*/

.dnm-dashboard .dashboard-cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:22px;

}

.dnm-dashboard .card{

    background:#fff;

    border:1px solid #eee;

    border-radius:18px;

    padding:28px;

    text-align:center;

    cursor:pointer;

    transition:.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.dnm-dashboard .card:hover{

    transform:translateY(-8px);

    border-color:#d32f2f;

    box-shadow:0 18px 40px rgba(0,0,0,.08);

}

.dnm-dashboard .card-icon{

    width:70px;

    height:70px;

    margin:auto;

    margin-bottom:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#fff2f2;

    font-size:32px;

}

.dnm-dashboard .card h4{

    margin:12px 0;

    font-size:19px;

    color:#222;

}

.dnm-dashboard .card p{

    margin:0;

    color:#888;

    line-height:1.9;

    font-size:14px;

}


/*==========================================
DOWNLOAD SEARCH
==========================================*/

.dnm-dashboard .download-search{

    margin-bottom:30px;

}

.dnm-dashboard .download-search input{

    width:100%;

    height:55px;

    border:1px solid #ddd;

    border-radius:14px;

    padding:0 20px;

    font-size:15px;

    outline:none;

    transition:.25s;

}

.dnm-dashboard .download-search input:focus{

    border-color:#d32f2f;

    box-shadow:0 0 0 4px rgba(211,47,47,.08);

}



/*==========================================
DOWNLOADS
==========================================*/

.dnm-dashboard .downloads-box{

    animation:dnmFade .35s;

}

.dnm-dashboard .downloads-header{

    margin-bottom:35px;

    padding-bottom:22px;

    border-bottom:1px solid var(--border);

}

.dnm-dashboard .downloads-header h2{

    margin:0 0 10px;

    font-size:28px;

    color:var(--text);

    font-weight:700;

}

.dnm-dashboard .downloads-header p{

    margin:0;

    color:var(--text-light);

    line-height:2;

}

/*==============================
Product Group
==============================*/

.dnm-dashboard .product-download-group{

    background:#fff;

    border:1px solid var(--border);

    border-radius:20px;

    margin-bottom:28px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.04);

}

.dnm-dashboard .product-download-title{

    display:flex;

    align-items:center;

    gap:12px;

    padding:18px 25px;

    background:linear-gradient(90deg,#fff,#fff6f6);

    border-bottom:1px solid var(--border);

    font-size:19px;

    font-weight:700;

    color:var(--text);

}

/*==============================
Download Card
==============================*/

.dnm-dashboard .download-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    padding:20px 25px;

    transition:var(--transition);

}

.dnm-dashboard .download-card:not(:last-child){

    border-bottom:1px solid #f2f2f2;

}

.dnm-dashboard .download-card:hover{

    background:#fafafa;

}

.dnm-dashboard .download-left{

    display:flex;

    align-items:center;

    gap:18px;

    flex:1;

}

.dnm-dashboard .download-file-icon{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--primary-light);

    border-radius:16px;

    font-size:28px;

    flex-shrink:0;

}

.dnm-dashboard .download-details{

    display:flex;

    flex-direction:column;

}

.dnm-dashboard .download-details h4{

    margin:0;

    font-size:17px;

    color:var(--text);

    font-weight:700;

}

.dnm-dashboard .download-details span{

    margin-top:6px;

    color:var(--text-light);

    font-size:13px;

}

/*==============================
Download Button
==============================*/

.dnm-dashboard .download-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    min-width:150px;

    height:46px;

    background:var(--primary);

    color:#fff;

    border-radius:12px;

    text-decoration:none;

    font-weight:700;

    transition:var(--transition);

}

.dnm-dashboard .download-btn:hover{

    background:var(--primary-dark);

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(211,47,47,.25);

}

/*==============================
Empty
==============================*/

.dnm-dashboard .empty-downloads{

    text-align:center;

    padding:70px 20px;

}

.dnm-dashboard .empty-icon{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--primary-light);

    font-size:42px;

}

.dnm-dashboard .empty-downloads h3{

    margin:0 0 12px;

    font-size:24px;

    color:var(--text);

}

.dnm-dashboard .empty-downloads p{

    margin:0;

    color:var(--text-light);

    line-height:2;

}

/*==============================
Responsive
==============================*/

@media(max-width:768px){

    .dnm-dashboard .download-card{

        flex-direction:column;

        align-items:flex-start;

    }

    .dnm-dashboard .download-btn{

        width:100%;

    }

    .dnm-dashboard .download-left{

        width:100%;

    }

    .dnm-dashboard .product-download-title{

        font-size:17px;

    }

}

@media(max-width:480px){

    .dnm-dashboard .download-card{

        padding:18px;

    }

    .dnm-dashboard .download-file-icon{

        width:52px;

        height:52px;

        font-size:24px;

    }

    .dnm-dashboard .download-details h4{

        font-size:15px;

    }

}
/*==========================================
ADDRESS
==========================================*/

.dnm-dashboard .address-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.dnm-dashboard .address-card{

    background:#fff;

    border-radius:20px;

    border:1px solid #eee;

    padding:28px;

    box-shadow:0 10px 20px rgba(0,0,0,.05);

}

.dnm-dashboard .address-card h3{

    margin-top:0;

    margin-bottom:18px;

}

.dnm-dashboard .address-card p{

    line-height:2;

    color:#666;

    margin:8px 0;

}

.dnm-dashboard .map-link{

    display:inline-block;

    margin-top:15px;

    padding:12px 22px;

    background:#d32f2f;

    color:#fff;

    border-radius:12px;

    text-decoration:none;

    transition:.25s;

}

.dnm-dashboard .map-link:hover{

    background:#b71c1c;

}


/*==========================================
ACCOUNT
==========================================*/

.dnm-dashboard #account-form{

    background:#fafafa;

    padding:25px;

    border:2px dashed #ddd;

    border-radius:20px;

}


/*==========================================
ACCOUNT INFO
==========================================*/


.dnm-dashboard .account-box{

background:#fff;

border-radius:20px;

padding:30px;

}


.dnm-dashboard .account-box h2{

margin-bottom:30px;

}


.dnm-dashboard .account-info{

display:flex;

flex-direction:column;

gap:15px;

}



.dnm-dashboard .account-row{

display:flex;

justify-content:space-between;

align-items:center;

background:#fafafa;

border:1px solid #eee;

padding:18px 22px;

border-radius:14px;

}


.dnm-dashboard .account-row strong{

color:#333;

}


.dnm-dashboard .account-row span{

color:#777;

}



@media(max-width:600px){

.dnm-dashboard .account-row{

flex-direction:column;

align-items:flex-start;

gap:8px;

}

}

/*==========================================
TICKET
==========================================*/

.dnm-dashboard .ticket-box{

    text-align:center;

    padding:60px 30px;

}

.dnm-dashboard .ticket-icon{

    font-size:72px;

    margin-bottom:20px;

}

.dnm-dashboard .ticket-box h2{

    color:#d32f2f;

    margin-bottom:18px;

}

.dnm-dashboard .ticket-box p{

    color:#666;

    line-height:2;

    margin-bottom:18px;

}

.dnm-dashboard .ticket-box a{

    display:inline-block;

    padding:15px 35px;

    background:#d32f2f;

    color:#fff;

    text-decoration:none;

    border-radius:12px;

    transition:.25s;

}

.dnm-dashboard .ticket-box a:hover{

    background:#b71c1c;

    transform:translateY(-4px);

}
/*==========================================
RIPPLE
==========================================*/

.dnm-dashboard .ripple{

    position:absolute;

    border-radius:50%;

    background:rgba(255,255,255,.35);

    transform:scale(0);

    animation:dnmRipple .5s linear;

    pointer-events:none;

}


/*==========================================
ANIMATIONS
==========================================*/

@keyframes dnmFade{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


@keyframes dnmRipple{

    to{

        transform:scale(4);

        opacity:0;

    }

}


@keyframes dnmZoom{

    from{

        opacity:0;

        transform:scale(.95);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}


/*==========================================
UTILITY
==========================================*/

.dnm-dashboard .hidden{

    display:none !important;

}

.dnm-dashboard .text-center{

    text-align:center;

}

.dnm-dashboard .mt-20{

    margin-top:20px;

}

.dnm-dashboard .mb-20{

    margin-bottom:20px;

}

.dnm-dashboard .w-100{

    width:100%;

}


/*==========================================
IMAGES
==========================================*/

.dnm-dashboard img{

    max-width:100%;

    height:auto;

}


/*==========================================
LINKS
==========================================*/

.dnm-dashboard a{

    transition:.25s;

}


/*==========================================
TABLES
==========================================*/

.dnm-dashboard table{

    width:100%;

    border-collapse:collapse;

}

.dnm-dashboard table th,

.dnm-dashboard table td{

    padding:12px;

    border-bottom:1px solid #eee;

    text-align:right;

}


/*==========================================
RESPONSIVE
==========================================*/

@media (max-width:992px){

    .dnm-dashboard{

        flex-direction:column;

        padding:15px;

    }

    .dnm-dashboard .dnm-sidebar{

        width:100%;

        position:relative;

        top:0;

    }

    .dnm-dashboard .dashboard-content{

        width:100%;

        padding:25px;

    }

    .dnm-dashboard .dashboard-cards{

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

    }

}


@media (max-width:768px){

    .dnm-dashboard .dashboard-cards{

        grid-template-columns:1fr;

    }


    .dnm-dashboard .address-grid{

        grid-template-columns:1fr;

    }

    .dnm-dashboard .welcome-box{

        padding:25px;

    }

    .dnm-dashboard .welcome-box h2{

        font-size:22px;

    }

    .dnm-dashboard .menu-item{

        font-size:14px;

        padding:14px;

    }

    .dnm-dashboard .card{

        padding:22px;

    }

}


@media (max-width:480px){

    .dnm-dashboard{

        padding:10px;

    }

    .dnm-dashboard .dashboard-content{

        padding:18px;

    }

    .dnm-dashboard .dnm-sidebar{

        padding:18px;

    }

    .dnm-dashboard .user-avatar{

        width:70px;

        height:70px;

    }

    .dnm-dashboard .user-name{

        font-size:18px;

    }

.dnm-dashboard .tab h2{
    font-size:22px;
}

}


/*==========================================
ACCOUNT FORM
==========================================*/

.dnm-dashboard .account-box{

    background:#fff;

    border:1px solid var(--border);

    border-radius:20px;

    padding:30px;

    box-shadow:0 8px 25px rgba(0,0,0,.04);

}

.dnm-dashboard .account-box h2{

    margin:0 0 25px;

    font-size:28px;

    color:var(--text);

    font-weight:700;

}

.dnm-dashboard .dnm-account-form{

    display:grid;

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

    gap:22px;

}

.dnm-dashboard .account-field{

    display:flex;

    flex-direction:column;

}

.dnm-dashboard .account-field label{

    margin-bottom:8px;

    font-size:14px;

    font-weight:700;

    color:var(--text);

}

.dnm-dashboard .account-field input{

    width:100%;

    height:52px;

    border:1px solid #ddd;

    border-radius:12px;

    padding:0 16px;

    font-size:15px;

    transition:var(--transition);

    background:#fff;

}

.dnm-dashboard .account-field input:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(211,47,47,.08);

}

.dnm-dashboard .dnm-account-form hr{

    grid-column:1/-1;

    border:none;

    border-top:1px solid #eee;

    margin:8px 0;

}

.dnm-dashboard .account-save-btn{

    grid-column:1/-1;

    height:54px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:var(--transition);

}

.dnm-dashboard .account-save-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(211,47,47,.25);

}

.dnm-dashboard .account-success{

    background:#eafaf1;

    color:#1e7e34;

    border:1px solid #b7ebc6;

    border-radius:12px;

    padding:15px 18px;

    margin-bottom:20px;

}

.dnm-dashboard .account-error{

    background:#fff1f1;

    color:#d32f2f;

    border:1px solid #f5bcbc;

    border-radius:12px;

    padding:15px 18px;

    margin-bottom:20px;

}

@media(max-width:768px){

    .dnm-dashboard .dnm-account-form{

        grid-template-columns:1fr;

    }

}


.ticket-portal{
    width:100%;
}


/* Fix Fluent Support overflow */
.dnm-dashboard .dashboard-content{
    min-width:0;
    overflow:hidden;
}

.dnm-dashboard #ticket{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.dnm-dashboard .ticket-portal{
    width:100%;
    max-width:100%;
    overflow-x:auto;
}

.dnm-dashboard .ticket-portal *{
    max-width:100%;
}
/*=====================================
        MY PRODUCTS
======================================*/

.my-products-grid{

    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
    gap:30px;
    margin-top:35px;

}

.my-product-card{

    background:#fff;
    border:1px solid #ececec;
    border-radius:22px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

    transition:.3s;

    display:flex;
    flex-direction:column;

}

.my-product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.product-image{

    background:#fafafa;

    padding:35px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-bottom:1px solid #eee;

}

.product-image img{

    width:190px;

    height:190px;

    object-fit:contain;

    transition:.35s;

}

.my-product-card:hover .product-image img{

    transform:scale(1.06);

}

.product-content{

    padding:28px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.product-content h3{

    margin:0;

    font-size:22px;

    line-height:1.7;

    font-weight:700;

}

.product-content h3 a{

    color:#222;

    text-decoration:none;

}

.product-meta{

    display:flex;

    flex-direction:column;

    gap:10px;

    margin:25px 0;

}

.product-meta span{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:#666;

    font-size:14px;

}

.product-status{

    color:#1f8b3d !important;

    font-weight:700;

}

.product-button{

    margin-top:auto;

    height:50px;

    border-radius:12px;

    background:#d32f2f;

    color:#fff;

    text-decoration:none;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    transition:.3s;

}

.product-button:hover{

    background:#b71c1c;

    color:#fff;

}

@media(max-width:992px){

    .my-products-grid{

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

    }

}

@media(max-width:767px){

    .my-products-grid{

        grid-template-columns:1fr;

    }

    .product-image{

        padding:25px;

    }

    .product-image img{

        width:150px;

        height:150px;

    }

    .product-content{

        padding:22px;

    }

    .product-content h3{

        font-size:20px;

    }

}