/* ==========================================
   MK LEASING DASHBOARD
========================================== */

.mklp-dashboard{

    max-width:1200px;
    margin:30px auto;
    direction:rtl;
    font-family:tahoma;
}


/*========================================*/

.mklp-header{

    background:linear-gradient(135deg,#0069d9,#0d47a1);

    color:#fff;

    border-radius:12px;

    padding:25px;

    margin-bottom:25px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.mklp-header h2{

    margin:0;

    font-size:30px;

}

.mklp-header p{

    margin-top:10px;

    opacity:.9;

}


/*========================================*/

.mklp-cards{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:30px;

}

.mklp-card{

    flex:1;

    min-width:220px;

    color:#fff;

    border-radius:12px;

    padding:20px;

    box-shadow:0 8px 18px rgba(0,0,0,.15);

}

.mklp-card h3{

    margin:0;

    font-size:18px;

}

.mklp-card span{

    display:block;

    font-size:32px;

    font-weight:bold;

    margin-top:15px;

}

.mklp-card small{

    display:block;

    margin-top:8px;

    font-size:14px;

}


/*========================================*/

.debt{

    background:#d32f2f;

}

.warning{

    background:#ff9800;

}

.success{

    background:#2e7d32;

}


/*========================================*/

.mklp-section{

    background:#fff;

    border-radius:12px;

    padding:25px;

    margin-bottom:25px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.mklp-section h3{

    margin-top:0;

    color:#0d47a1;

    border-bottom:2px solid #eee;

    padding-bottom:10px;

}


/*========================================*/

.mklp-table{

    width:100%;

    border-collapse:collapse;

}

.mklp-table td,

.mklp-table th{

    border:1px solid #eee;

    padding:12px;

}

.mklp-table th{

    background:#1565c0;

    color:#fff;

}

.mklp-table tr:nth-child(even){

    background:#fafafa;

}

.mklp-table tr:hover{

    background:#f0f7ff;

}


/*========================================*/

.mklp-request-table td{

    text-align:center;

}


/*========================================*/

.mklp-download{

    background:#1976d2;

    color:#fff;

    padding:8px 14px;

    border-radius:6px;

    text-decoration:none;

    display:inline-block;

}

.mklp-download:hover{

    background:#0d47a1;

    color:#fff;

}


/*========================================*/

.mklp-btn{

    display:inline-block;

    padding:8px 18px;

    color:#fff;

    border-radius:6px;

    text-decoration:none;

    transition:.3s;

}

.mklp-btn:hover{

    color:#fff;

    transform:translateY(-2px);

}

.mklp-btn.blue{

    background:#1565c0;

}

.mklp-btn.green{

    background:#2e7d32;

}

.mklp-btn.orange{

    background:#fb8c00;

}

.mklp-btn.red{

    background:#d32f2f;

}


/*========================================*/

.mklp-status{

    display:inline-block;

    padding:5px 12px;

    border-radius:20px;

    font-size:13px;

    color:#fff;

}

.status-new{

    background:#1976d2;

}

.status-review{

    background:#fb8c00;

}

.status-ok{

    background:#2e7d32;

}

.status-reject{

    background:#d32f2f;

}

.status-doc{

    background:#8e24aa;

}


/*========================================*/

@media(max-width:768px){

.mklp-cards{

    display:block;

}

.mklp-card{

    margin-bottom:15px;

}

.mklp-table{

    font-size:13px;

}

.mklp-header h2{

    font-size:24px;

}

}
.mklp-card.payment{
    background:#1976d2;
    color:#fff;
    text-decoration:none;
    display:block;
    transition:.3s;
}

.mklp-card.payment:hover{
    background:#1565c0;
    transform:translateY(-3px);
}

.mklp-card.payment h3,
.mklp-card.payment span,
.mklp-card.payment small{
    color:#fff;
}

.mklp-dashboard-cards{
display:flex;
gap:20px;
margin-top:30px;
margin-bottom:30px;
flex-wrap:wrap;
}

.mklp-card{

width:220px;

background:#fff;

border-radius:10px;

padding:25px;

box-shadow:0 2px 10px rgba(0,0,0,.08);

text-align:center;

}

.mklp-title{

font-size:15px;

margin-bottom:15px;

font-weight:bold;

}

.mklp-number{

font-size:42px;

font-weight:bold;

color:#0d6efd;

}
#mklp-chat-window{

margin-top:25px;

padding:20px;

background:#fff;

border-radius:8px;

border:1px solid #ddd;

}

#mklp-chat-box{

height:300px;

overflow-y:auto;

border:1px solid #eee;

padding:15px;

margin-bottom:15px;

background:#fafafa;

}

#mklp-chat-message{

width:100%;

}

.mklp-msg-expert{

background:#f1f8ff;

padding:10px;

margin-bottom:10px;

border-radius:6px;

}

.mklp-msg-customer{

background:#e8f5e9;

padding:10px;

margin-bottom:10px;

border-radius:6px;

text-align:left;

}
/* ==========================
   Textarea Style
========================== */

.mklp-request-box textarea,
#lrm-chat-message {

    width: 100%;
    min-height: 150px;
    padding: 14px 16px;

    border: 1px solid #d9dee5;
    border-radius: 12px;

    background: #fff;

    font-size: 15px;
    line-height: 1.8;

    transition: .25s;

    resize: vertical;

    box-sizing: border-box;

    font-family: inherit;
}

.mklp-request-box textarea:focus,
#lrm-chat-message:focus{

    outline: none;

    border-color:#1e88e5;

    box-shadow:0 0 0 4px rgba(30,136,229,.15);

}
/* ==========================
Chat Window
========================== */

#lrm-chat-window{

    border:1px solid #ddd;

    border-radius:14px;

    background:#fff;

    padding:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}
#lrm-chat-messages{

    height:420px;

    overflow-y:auto;

    padding:15px;

    background:#f6f8fb;

    border-radius:10px;

    border:1px solid #eee;

}
.lrm-msg-user{

    background:#dff3ff;

    padding:12px 16px;

    border-radius:15px 15px 3px 15px;

    margin-bottom:12px;

    max-width:75%;

    margin-left:auto;

    box-shadow:0 2px 8px rgba(0,0,0,.06);

}
.lrm-msg-user{

    background:#dff3ff;

    padding:12px 16px;

    border-radius:15px 15px 3px 15px;

    margin-bottom:12px;

    max-width:75%;

    margin-left:auto;

    box-shadow:0 2px 8px rgba(0,0,0,.06);

}
#mklp_description{

    min-height:180px !important;

    width:100% !important;

    border:3px solid red !important;

    background:#ffffcc !important;

    border-radius:15px !important;

    padding:15px !important;

}

.mklp-cards{
    display:flex;
    gap:20px;
    margin:25px 0;
    flex-wrap:nowrap;
}

.mklp-card{
    flex:1;
    min-width:0;
}

.mklp-card.payment{
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-decoration:none;
}