@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Dancing+Script:wght@400..700&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Great+Vibes&family=Offside&family=Orbitron:wght@400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f2f2f2;
    font-family: "Times New Roman", serif;
    color: #000;
    padding: 30px;
}

.quotation-page {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 30px 35px 40px;
}

/* ================= HEADER ================= */

.top-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top-header img {
    width: 60%;
    display: block;
}

.top-header p {
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
    text-align: center;
}

.header-line {
    border: none;
    border-top: 2px solid #000;
}

/* ================= TITLE ================= */

.quotation-title {
    text-align: center;
    margin: 25px 0 20px;
}

.quotation-title h1 {
    font-family: "Google Sans", sans-serif;
    font-size: 35px;
    font-weight: bold;
    text-decoration: underline;
    letter-spacing: 1px;
}

/* ================= INFO ================= */

.quotation-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 20px;
}

.quotation-info p {
    margin-bottom: 12px;
}

.line {
    display: inline-block;
    border-bottom: 1px dotted #000;
    min-width: 250px;
    margin-left: 10px;
}

.short-line {
    min-width: 120px;
}

/* ================= TABLE ================= */

table {
    width: 100%;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid #000;
}

th {
    padding: 2px;
    vertical-align: top;
    text-align: center;
    font-size: 20px;
}

td {
    padding-left: 10px;
    text-align: left;
    font-size: 18px;
}

td>input,
td>textarea {
    font-size: 15px;
    width: 100%;
    height: 100%;
    border: none;
}

td>textarea {
    resize: vertical;
    overflow: auto;
    min-height: fit-content;
}

.center, .center>* {
    text-align: center;
}

.right {
    text-align: right;
}

.bold {
    font-weight: bold;
}

.particular-title {
    font-weight: bold;
    text-decoration: underline;
}

.container-desc {
    margin-top: 5px;
    line-height: 1.4;
}

.total-row td {
    font-weight: bold;
}

.add-row-btn {
    width: 30px;
    height: 30px;
    background-color: #fff;
}

/* ================= AMOUNT ================= */

.amount-section {
    margin-top: 15px;
    font-size: 22px;
}

.amount-section p {
    margin-bottom: 10px;
}

/* ================= TERMS ================= */

.terms {
    margin-top: 35px;
}

.terms h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.terms ul {
    padding-left: 30px;
}

.terms li {
    margin-bottom: 8px;
    font-size: 18px;
}

/* ================= SIGNATURE ================= */

.signature {
    margin-top: 40px;
    line-height: 1.5;
}

.signature h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.signature p {
    font-size: 18px;
}

/* ================= FOOTER ================= */

.footer {
    margin-top: 10px;
    border-top: 2px solid #000;
    padding-top: 18px;
    text-align: center;
}

.footer p {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
}

.footer .contact {
    font-style: italic;
}

/* Print Button */
#printPage {
    background-color: #dedede;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    padding: 10px;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

/* ================= PRINT ================= */

@media print {
    body {
        background: #fff;
        padding: 0;
    }

    .quotation-page {
        max-width: 100%;
        padding: 20px;
    }

    .printHidden {
        display: none;
    }

    #printPage {
        display: none;
    }
}