/* ==========================================================
   RENT AGREEMENT GENERATOR
   FILE : assets/css/style.css
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Inter',sans-serif;
    background:#f3f7fd;
    color:#1f2937;

}

/*==========================================================
MAIN WRAPPER
==========================================================*/

.main-wrapper{

    background:#ffffff;

    border-radius:24px;

    padding:35px;

    box-shadow:
        0 15px 50px rgba(0,0,0,.08);

    border:1px solid #e6eef8;

}

/*==========================================================
HEADER
==========================================================*/

.page-header{

    display:flex;
    align-items:center;
    gap:22px;
    margin-bottom:35px;

}

.header-icon{

    width:86px;
    height:86px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:38px;
    box-shadow:0 15px 30px rgba(37,99,235,.25);

}

.page-header h2{

    font-size:42px;
    font-weight:800;
    color:#183153;
    margin-bottom:8px;

}

.page-header p{

    font-size:18px;
    color:#6b7280;
    margin:0;

}

/*==========================================================
FORM CARD
==========================================================*/

.form-card{

    background:#fff;
    border:1px solid #edf2f7;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.04);

}

.form-label{

    font-size:15px;

    font-weight:600;

    color:#22324d;

    margin-bottom:8px;

}

.form-label i{

    color:#2563eb;
    margin-right:8px;

}

.form-control{

    height:50px;

    border-radius:10px;

    border:1px solid #d7dce5;

    font-size:16px;

    padding:8px 12px;

    box-shadow:none;

    transition:.25s;

}

.form-control:focus{

    border-color:#2563eb;
    box-shadow:0 0 0 .18rem rgba(37,99,235,.15);

}

textarea.form-control{

    min-height:30px;

    resize:none;

    padding:10px;

    font-size:15px;

}

/*==========================================================
BUTTON
==========================================================*/

.generate-btn{

    height:62px;
    border-radius:14px;
    font-size:21px;
    font-weight:700;
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    border:none;
    transition:.3s;

}

.generate-btn:hover{

    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(37,99,235,.30);

}

.secure-text{

    text-align:center;
    margin-top:22px;
    color:#6b7280;
    font-size:15px;

}

.secure-text i{

    color:#2563eb;
    margin-right:8px;

}

/*==========================================================
RIGHT PANEL
==========================================================*/

.right-card{

    background:#ffffff;

    border-radius:22px;

    overflow:hidden;

    border:1px solid #e5e7eb;

    box-shadow:
        0 10px 35px rgba(15,23,42,.08);

}

.top-banner{

    padding:30px 25px;
    background:#f8fbff;
    border-bottom:1px solid #edf2f7;

}

.top-banner img{

    max-width:180px;

}

.top-banner h4{

    font-weight:800;
    color:#183153;
    margin-bottom:10px;

}

.print-area{

    padding:20px;

    background:#fff;

    border-top:1px solid #edf2f7;

}

/*==========================================================
PRINT AREA
==========================================================*/

.print-area{

    padding:20px;

    background:#fff;

}

.print-area button{

    height:58px;

    border-radius:12px;

    font-size:18px;

    font-weight:700;

    background:linear-gradient(90deg,#2563eb,#1d4ed8);

    border:none;

    color:#fff;

}

.print-area small{

    display:block;
    margin-top:12px;
    color:#64748b;

}

/*==========================================================
AGREEMENT CARD
==========================================================*/

.agreement-card{

    margin:20px;

    border-radius:18px;

    overflow:hidden;

    background:#edf4fb;

    border:1px solid #dbeafe;

    box-shadow:
        0 10px 25px rgba(0,0,0,.06);

}

.agreement-header{

    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    color:#fff;
    padding:14px 18px;
    font-size:18px;
    font-weight:600;

}

.agreement-body{

    background:#edf4fb;

    height:400px;

    overflow-y:auto;

    overflow-x:hidden;

    padding:15px;

}

.agreement-body h3,
.agreement-body h4{

    font-weight:800;
    color:#183153;

}

.agreement-body hr{

    margin:20px 0;

}

/*==========================================================
NOTE
==========================================================*/

.note-box{

    margin:25px;
    padding:20px;
    background:#fff8eb;
    border:1px solid #fde7b2;
    border-radius:15px;

}

.note-icon{

    width:46px;
    height:46px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-right:15px;

}

.note-icon i{

    color:#f59e0b;
    font-size:24px;

}

.note-box h6{

    font-weight:700;
    margin-bottom:5px;

}

.note-box p{

    margin:0;
    color:#64748b;
    line-height:1.7;

}

/*==========================================================
FEATURES
==========================================================*/

.feature-item{

    display:flex;
    align-items:flex-start;
    gap:18px;
    padding:18px 25px;
    border-top:1px solid #edf2f7;

}

.feature-item i{

    width:52px;
    height:52px;
    border-radius:50%;
    background:#eff6ff;
    color:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    flex-shrink:0;

}

.feature-item h6{

    font-weight:700;
    margin-bottom:4px;

}

.feature-item p{

    margin:0;
    color:#64748b;
    line-height:1.6;
    font-size:14px;

}

/*==========================================================
SCROLLBAR
==========================================================*/

.agreement-body::-webkit-scrollbar{
    width:8px;
}

.agreement-body::-webkit-scrollbar-thumb{

    background:#cbd5e1;
    border-radius:20px;

}

/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:991px){

    .main-wrapper{

        padding:20px;

    }

    .page-header{

        flex-direction:column;
        text-align:center;

    }

    .page-header h2{

        font-size:30px;

    }

    .header-icon{

        width:52px;
        height:52px;
        font-size:26px;

    }

}



/* PDF */

#pdfContent{

    width:100%;

    max-width:900px;

    margin:0 auto;

    background:#fff;

    border:1px solid #dcdcdc;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

    padding:35px;

    transform:none;

    box-sizing:border-box;

    overflow-wrap:break-word;

    word-break:break-word;

    overflow:hidden;

    max-width:100%;

}

#pdfContent *{

    max-width:100%;

    box-sizing:border-box;

}

#pdfContent h1{

    font-size:34px;

    margin-bottom:8px;

    color:#1e3a8a;

    font-weight:800;

}

#pdfContent h2{

    font-size:28px;

}

#pdfContent h3{

    font-size:22px;

}

#pdfContent h4{

    font-size:18px;

    margin:25px 0 15px;

    color:#1e3a8a;

    font-weight:700;

}

#pdfContent h2{

    font-size:28px;

}

#pdfContent h3{

    font-size:22px;

}

#pdfContent h4{

    font-size:18px;

}

#pdfContent table,
#pdfContent p{

    font-size:15px;

}
#pdfContent div{

    page-break-inside:avoid;

}

#pdfContent p{

    font-size:15px;

    color:#333;

    line-height:1.9;

    margin-bottom:15px;

}

#pdfContent table{

    width:100%;

    border-collapse:collapse;

    table-layout:fixed;

    margin:18px 0;

}

#pdfContent table td{

    border:1px solid #d8e2ef;

    padding:12px;

    vertical-align:top;

    word-break:break-word;

    overflow-wrap:anywhere;

}

#pdfContent table th{

    background:#f1f7ff;

    border:1px solid #d8e2ef;

    padding:12px;

    word-break:break-word;

    overflow-wrap:anywhere;

}

#pdfContent table{

    width:100%;

    border-collapse:collapse;

    margin:20px 0;

}

#pdfContent table td{

    border:1px solid #d8e2ef;

    padding:12px;

    vertical-align:top;

}

#pdfContent table th{

    background:#f1f7ff;

    border:1px solid #d8e2ef;

    padding:12px;

}

#pdfContent ol{

    padding-left:25px;

}

#pdfContent ol li{

    margin-bottom:12px;

    line-height:1.8;

}

#pdfContent hr{

    border:none;

    border-top:1px solid #cfd8e3;

    margin:20px 0;

}

@media(max-width:991px){

    .agreement-body{

        height:600px;

    }

    #pdfContent{

        padding:25px;

    }

}

@media(max-width:576px){

    .main-wrapper{

        padding:15px;

    }

    .form-card{

        padding:20px;

    }

    .top-banner{

        padding:12px 8px;

    }

    .page-header h2{

        font-size:24px;

    }

    .generate-btn{

        font-size:18px;

    }

}

/*==================================================
MOBILE WIDTH FIX
==================================================*/

@media (max-width:768px){

    .container,
    .container-fluid{

        padding-left:10px !important;
        padding-right:10px !important;

    }

    .row{

        --bs-gutter-x:18px;

    }

    .col-lg-5,
    .col-lg-7{

        width:100%;

        padding-left:0;
        padding-right:0;

    }

    .right-card{

        width:100%;
        margin-top:20px;

    }

    .agreement-card{

        margin:0;
        width:100%;

    }

    /*========================================
TABLE RESPONSIVE
========================================*/

#pdfContent table{

    font-size:10px;

}

#pdfContent td,
#pdfContent th{

    padding:5px;

    font-size:10px;

    line-height:1.4;

}

}

.agreement-section{

    background:#eff6ff;

    padding:10px 15px;

    border-left:4px solid #2563eb;

    font-size:16px;

    font-weight:600;

    margin:20px 0 12px;

}

@media(max-width:768px){

    .agreement-section{

        font-size:14px;

        padding:8px 12px;

    }

}

/*==================================================
SIGNATURE SECTION
==================================================*/

.signature-row{

    display:flex;

    justify-content:space-between;

    gap:40px;

    margin-top:60px;

}

.signature-box{

    width:48%;

    text-align:center;

}

.signature-box hr{

    margin-bottom:8px;

}

/* Mobile */

@media(max-width:768px){

    .signature-row{

        display:block;

        margin-top:40px;

    }

    .signature-box{

        width:100%;

        margin-bottom:35px;

    }

}