
/* Form Title and Underline */
.form-title {
    text-align: left;
    color: #002d50;
}

.underline {
    width: 200px;
    height: 1px;
    background-color: #00bfa6;
    margin: 5px 0 10px;
}

/* Sub-header Styling */
.sub-navbar {
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
    background-color: #002d50;
    border-bottom: 2px solid #00bfa6;
    position: relative;
    z-index: 999;
}

.sub-navbar .navbar-item.left {
    flex: 0 0 94%;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

/* Customer Details Form Section */
.installation-form1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto; /* Center on desktop */
    max-width: 1000px;
    padding: 20px;
    border-radius: 5px;
}

.installation-form1 label {
    margin-right: 15px;
    font-weight: bold;
}

.installation-form1 input[type="text"] {
    padding: 10px;
    border: 2px solid #00bfa6;
    border-radius: 4px;
    width: 300px; /* Fixed width for input boxes */
    max-width: 300px;
    box-sizing: border-box;
}

/* Flexbox layout for desktop */
.installation-form1 .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Right section for Project Field */
.project-field {
    margin-left: auto;
}

/* Flexbox adjustments for mobile */
@media (max-width: 768px) {
    .installation-form1 {
        flex-direction: column; /* Stack fields vertically on mobile */
        justify-content: center;
        align-items: center;
    }

    .installation-form1 .form-group {
        width: 100%; /* Full width on mobile */
        margin-bottom: 10px;
        display: flex;
        flex-direction: column; /* Align label and input vertically */
    }

    .installation-form1 input[type="text"] {
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Ensure it doesn’t exceed 100% width */
    }
}

#date {
    padding: 5px;
    border: 2px solid #00bfa6;
    border-radius: 3px;
}
.next-button {
            display: block;
            margin: 20px auto;
            padding: 10px 20px;
            background-color: #00bfa6; /* Button color */
            color: white; /* Text color */
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            text-align: center;
            text-decoration: none; /* Remove underline */
            margin-bottom: 36px;
        }

        .next-button:hover {
            background-color: #008f87; /* Darker shade on hover */
        }
        .installation-form1 .form-group {
    display: flex;
    align-items: center;
    width: 100%; /* Ensure full width */
}

.installation-form1 label {
    margin-right: 15px; /* Space between label and input */
    width: 150px; /* Fixed width for labels */
    font-weight: bold;
}

.installation-form1 input[type="text"] {
    padding: 10px;
    border: 2px solid #00bfa6;
    border-radius: 4px;
    width: calc(100% - 165px); /* Adjust for label width and margin */
    box-sizing: border-box;
}
/* Flexbox adjustments for mobile */
@media (max-width: 768px) {
    .installation-form1 {
        flex-direction: column; /* Stack fields vertically on mobile */
        align-items: flex-start; /* Align items to start */
    }

    .installation-form1 .form-group {
        width: 100%; /* Full width on mobile */
        margin-bottom: 10px; /* Space between fields */
        display: block;
        flex-direction: column; /* Align label and input vertically */
    }

    .installation-form1 label {
        margin-bottom: 5px; /* Space between label and input */
        width: auto; /* Allow label width to adjust */
    }

    .installation-form1 input[type="text"] {
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Ensure it doesn’t exceed 100% width */
    }
}

*{
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  body, html{
    width:100%;
    height:100%;
    font-size:16px;
  }

  body{
    background: white;
  }

/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 54px; /* Prevent content from being hidden under the fixed navbar */
}

/* Navbar Styling */
.navbar {
    display: flex;
    width: 100%;
    height: 100px;
    align-items: center;
    background-color: #002d50; /* Main dark blue background */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Left section with 90% width */
.navbar-item.left {
    /* flex: 0 0 72%; */
    display: flex;
    align-items: center;
    padding-left: 15px;
    width: 100%;
}

.navbar-item.left .logo {
    width: 102px;
    margin-right: 15px;
}

.company-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.company-info img {
    margin-left: 10px;
    width: 30px;
}

/* Middle and Right sections with 5% width */
.navbar-item.middle,
.navbar-item.right {
    flex: 0 0 3%;
    height: 100%;
}

.navbar-item.middle {
    background-color: #005b66;
}

.navbar-item.right {
    background-color: #00bfa6;
}

.installation-form {
        max-width: 400px; /* Maintain a max width */
        margin: 20px; /* Adjust margin to only have space at the top and sides */
        padding: 20px;
        border-radius: 5px;
        position: relative;
        float: left; /* Aligns the form to the left */
    }

.installation-form label {
    display: block;
    margin: 10px 0 5px;
    color: #002d50;
}

.installation-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #00bfa6;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Adjustments for Mobile View */
@media (max-width: 768px) {
    .installation-form {
        width: 90%; /* Full width on smaller screens */
        margin: 20px auto; /* Center form */
        padding: 20px;
    }
}


/* Dropdown Styling */
.styled-select {
    padding: 10px; /* Padding inside the dropdown */
    border: 2px solid #00bfa6; /* Border color */
    border-radius: 4px; /* Rounded corners */
    width: calc(100% - 200px); /* Adjust width based on label width and margin */
    box-sizing: border-box; /* Include padding and border in element's total width */
    background-color: white; /* Background color */
    font-size: 12px; /* Font size for the text */
     /* Text color */
}

/* Flexbox adjustments for form-group */
.form-group {
    display: flex; /* Flexbox layout */
    align-items: center; /* Center items vertically */
    width: 100%; /* Ensure full width */
}

/* Label Styling */
.form-group label {
    margin-right: 15px; /* Space between label and dropdown */
    width: 150px; /* Fixed width for labels */
    font-weight: bold; /* Bold font for labels */
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .styled-select,
    .form-group {
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Ensure it doesn’t exceed 100% width */
    }

    .form-group label {
        margin-bottom: 5px; /* Space between label and dropdown */
        width: auto; /* Allow label width to adjust */
    }
}



/* Date Input Styling */
.styled-input {
    padding: 10px; /* Padding inside the input */
    border: 2px solid #00bfa6; /* Border color */
    border-radius: 4px; /* Rounded corners */
    width: calc(100% - 200px); /* Adjust width based on label width and margin */
    box-sizing: border-box; /* Include padding and border in element's total width */
    background-color: white; /* Background color */
    font-size: 13px; /* Font size for the text */
 /* Text color */
}

/* Flexbox adjustments for form-group */
.form-group {
    display: flex; /* Flexbox layout */
    align-items: center; /* Center items vertically */
    width: 100%; /* Ensure full width */
}

/* Label Styling */
.form-group label {
    margin-right: 15px; /* Space between label and input */
    width: 150px; /* Fixed width for labels */
    font-weight: bold; /* Bold font for labels */
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .styled-input,
    .form-group {
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Ensure it doesn’t exceed 100% width */
    }

    .form-group label {
        margin-bottom: 5px; /* Space between label and input */
        width: auto; /* Allow label width to adjust */
    }
}
/* Textarea Styling */
.styled-textarea {
    padding: 10px; /* Padding inside the textarea */
    border: 2px solid #00bfa6; /* Border color to match other inputs */
    border-radius: 4px; /* Rounded corners */
    width: calc(100% - 165px); /* Adjust width based on label width and margin */
    height: 120px; /* Height of the textarea */
    box-sizing: border-box; /* Include padding and border in element's total width */
    background-color: white; /* Background color */
    font-size: 16px; /* Font size for the text */
    color: #002d50; /* Text color */
    resize: vertical; /* Allow vertical resizing */
}

/* Flexbox layout for form-group */
.form-group {
    display: flex; /* Flexbox layout */
    align-items: center; /* Center items vertically */
    width: 100%; /* Ensure full width */
}

/* Label Styling */
.form-group label {
    margin-right: 15px; /* Space between label and textarea */
    width: 150px; /* Fixed width for labels */
    font-weight: bold; /* Bold font for labels */
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .styled-textarea,
    .form-group {
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Ensure it doesn’t exceed 100% width */
    }

    .form-group label {
        margin-bottom: 5px; /* Space between label and textarea */
        width: auto; /* Allow label width to adjust */
    }
}
/* File Input Styling */
input[type="file"] {
    padding: 10px; /* Padding inside the file input */
    border: 2px solid #00bfa6; /* Border color */
    border-radius: 4px; /* Rounded corners */
    width: calc(100% - 200px); /* Adjust width based on label */
    box-sizing: border-box; /* Ensure total width includes padding and border */
    font-size: 13px; /* Font size */
     /* Text color */
}

/* Form group styling */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Space below each field */
}

/* Label styling */
.form-group label {
    width: 150px; /* Fixed width for labels */
    font-weight: bold;
    margin-right: 15px; /* Space between label and input */
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    input[type="file"],
    .form-group {
        width: 70%; /* Full width on mobile */
    }

    .form-group label {
        width: auto; /* Adjust label width */
        margin-bottom: 5px; /* Space below label */
    }
}

/* Visits Input Styling */
.form-group {
    display: flex; /* Flexbox layout for alignment */
    align-items: center; /* Center items vertically */
    width: 100%; /* Full width of the form */
    margin-bottom: 15px; /* Space below each form group */
}

.form-group label {
    width: 300px; /* Fixed width for labels */
    font-weight: bold; /* Bold font for labels */
    margin-right: 15px; /* Space between label and input */
}

.form-group input[type="number"] {
    padding: 10px; /* Padding inside the input */
    border: 2px solid #00bfa6; /* Border color to match other inputs */
    border-radius: 4px; /* Rounded corners */
    width: calc(100% - 200px); /* Adjust width based on label width and margin */
    box-sizing: border-box; /* Include padding and border in element's total width */
    font-size: 13px; /* Font size for the input */
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column; /* Stack label and input vertically on mobile */
    }

    .form-group label {
        margin-bottom: 5px; /* Space between label and input */
        width: auto; /* Allow label width to adjust */
    }

    .form-group input[type="number"] {
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Ensure it doesn’t exceed 100% width */
    }
}


.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 90%;
    max-height: 80%; /* Limit height for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
    position: relative; /* Positioning relative for the close button */
}

.popup img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.close-btn {
    color: red;
    font-size: 50px;
    font-weight: bold;
    position: absolute; /* Position absolute */
    right: 10px; /* Distance from the right */
    top: 10px; /* Distance from the top */
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}