/* Main Contents */
body {
    font-family: "Roboto", sans-serif;
    background-color: rgb(213, 214, 214);
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}
.content {
    max-width: 1000px;
    min-width: 1000px;
    margin: 0 auto 10px;
    background-color: rgb(255, 255, 255);
    padding: 10px 50px;
}
.document-title {
    font-size: 40px;
    margin-bottom: 0;
}
.title {
    color: rgb(116, 17, 46);
    margin-top: 30px;
    margin-bottom: 0;
}

.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#small-logo {
    margin-top: 30px;
    width: 150px;
    height: 150px;
}

/* Initial Service */
.initial-service {
    text-align: left;
}

/* Information */
.office-info-title, .customer-info-title {
    margin-top: 30px;
}
.office-info, .customer-info{
    max-width: 58%;
}

/* Service Table */
.service-table {
    border-collapse: collapse;
    width: 100%
}
.service-table td {
    padding: 10px;
}
.service-table-row {
    border-bottom: 1px solid #ddd;
    width: 100%;
}
.service-table-header {
    font-weight: bold;
    width: 100%;
}
.service-table-header-service-title {
    font-size: 24px;
    color: rgb(116, 17, 46);
}
.service-table-header-service, .service-table-service {
    width: 88%;
    text-align: left;
}
.service-table-header-price, .service-table-item {
    width: 12%;
    text-align: center;
}
.service-table-total {
    font-weight: bold;
}
.description {
    font-size: 12px;
    color: #606060;
    padding: 0;
    margin: 0;
}


/* Guarantee */
.guarantee-title {
    margin-top: 40px;
    text-align: left;
}
.guarantee {
    text-align: left;
    font-size: 17px;
}

/* Fine Print  */
.content-no-title {
    font-weight: bold;
    padding-top: 20px;
    margin:0;
}
.fine-print-title {
    margin-top: 15px;
    margin-bottom: 0;
    color:rgb(116, 17, 46);
}
.fine-print-content {
    margin: 0;
}

/* Signature Section */
.signature-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.signature-section {
    flex: 2;
    margin-right: 10px;
}
.date-section {
    flex: 1;
}
.signature-box, .date-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 150px;
    border: 1px solid rgb(119, 107, 228);
    padding: 10px;
    border-radius: 10px;
    margin-top: 5px;
}
#signature {
    width: 100%;
    height: 100%;
}
.signature-line, .date-line {
    width: 100%;
    border-bottom: 1px solid #000000;
}

/* Signee */
.signee-selection {
    margin-top: 20px;
}
.radio-label {
    margin-right: 20px;
}

/* Timetable */
.timetable-section {
    color:#7e7e7e;
    padding: 0 20px 20px 20px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    margin-bottom: 30px;
}
.timetable {
    font-size: 12px;
    margin: 0;
    padding: 0;
}

/* other */
h4 {
    display: flex;
    justify-content: left;
    padding: 0;
    margin: 20px 0 0;
}
hr {
    margin-top: 40px;
    margin-bottom: 40px;
}
p {
    margin: 0;
}



/* JSON form */
.form-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.json-form {
    max-width: 1060px;
    min-width: 1060px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.json-form textarea {
    width: 97%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    height: 150px;
    resize: vertical;
    margin-bottom: 10px;
}

.json-form input[type="submit"] {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.json-form input[type="submit"]:hover {
    background-color: #45a049;
}







/* Header */

header {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0 0 20px 0;
    background-color: #ffffff;
    background-image: linear-gradient(to right, #ffffff, #cbcbcb);
    box-shadow: 0 8px 6px -6px #656565;
}

.header-logo {
    width: 150px;
    height: 75px;
    padding: 10px;
}

.header-button {
    margin: 10px;
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.header-button:hover {
    background-color: #45a049;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .header-button {background-color: #3e8e41;}