/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

form {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 20px;
}

.header-left img {
    max-width: 150px;
    margin-left: 20px; /* Move logo slightly to the right */
}

.header-middle {
    text-align: center;
    flex-grow: 1;
}

.header-middle h1 {
    font-size: 24px;
    margin: 0;
    text-align: center;
}

.header-right {
    text-align: right;
    margin-right: 20px; /* Move the date, rig, and well fields slightly to the left */
    align-self: flex-start; /* Align the right header to the top */
}

.header-right .info {
    margin-bottom: 10px;
    font-size: 14px;
}

.header-right label {
    margin: 5px 0;
}

.header-right input {
    margin-bottom: 10px;
    padding: 5px;
    width: 200px;
}

/* Title Section (Centered) */
.title-section {
    text-align: center;
    margin: 20px 0;
}

.title-section input {
    width: 40%;
    padding: 10px;
    margin-top: 10px;
}

/* Buttons */
button {
    background-color: #2980b9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin-top: 20px;
}

button:hover {
    background-color: #3498db;
}

#addParagraphBtn {
    margin-top: 30px;
}

/* Table Styling */
.styled-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    overflow-x: auto;
}

.styled-table, .styled-table th, .styled-table td {
    border: 1px solid #ddd;
}

.styled-table th {
    background-color: #2c3e50;
    color: white;
    padding: 8px;
    text-align: left;
}

.styled-table td {
    background-color: #ecf0f1;
    padding: 8px;
    text-align: left;
}

/* Button in table rows */
.styled-table button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.styled-table button:hover {
    background-color: #c0392b;
}

/* Style for the line separator between paragraphs */
hr {
    border: none;
    height: 2px;
    background-color: #333;
    margin: 20px 0;
}

/* Navbar Styling */
.navbar {
    background-color: #2c3e50;
    padding: 15px;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
}

.nav-list li {
    margin-right: 20px;
}

.nav-list li a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.nav-list li a:hover {
    background-color: #3498db;
    text-decoration: none;
}

/* Print Media Query */
@media print {
    body {
        width: 210mm;
        height: 297mm;
        margin: 0;
    }
    header {
        display: none;
    }


    .header-left img {
        max-width: 150px;
        margin-left: 20px;
    }

    .header-right {
        text-align: right;
        margin-right: 20px;
        align-self: flex-start;
    }

    .header-middle {
        text-align: center;
        flex-grow: 1;
    }

    .header-middle h1 {
        margin-top: 20px;
        text-align: center;
    }

    button {
        display: none; /* Hide all buttons when printing */
    }

    .header-section {
        display: flex;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    table, h2, p {
        page-break-inside: avoid;
    }

    hr {
        border: none;
        border-top: 2px solid #333; /* Adjust the thickness and color as needed */
        margin: 20px 0; /* Adjust spacing */
    }
}
/* Title Format */
.title-main {
    font-family: 'Times New Roman', serif;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #003366; /* Dark blue color */
    margin-top: 20px;
}
/* Paragraph Title Format */
.paragraph-title {
    font-family: 'Times New Roman', serif;
    font-size: 20px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
}
/* Steps Format */
.step-content {
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    color: #000;
    margin-left: 20px;
    margin-bottom: 15px;
}

