
*{
    box-sizing: border-box;
  }
  /* Create two equal columns that floats next to each other */
  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Aligns the columns centrally */
    align-items: center; /* Vertically centers the content */
    margin-bottom: 20px;
}

/* Each column takes up 50% of the space */
.column {
    flex: 1; /* Equal width for columns */
    max-width: 100%; /* Ensures columns do not exceed parent width */
    padding: 10px;
    margin-bottom: 10px;
}

/* Responsive design: stack columns on smaller screens */
@media (max-width: 768px) {
    .column {
        flex-basis: 100%; /* Stack columns on top of each other on small screens */
    }
}


.column .textDavid {
    text-align: left;
    font-size: 85%; /* Adjust font size here as needed */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    white-space: pre-wrap; /* Allows text to wrap */
    word-wrap: break-word; /* Ensures long words break and don't overflow */
    max-width: 85%; /* Ensures it doesn't exceed the parent container */

  }

.schemapre {
    text-align: left;
    font-size: 85%; /* Adjust font size here as needed */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    white-space: pre-wrap; /* Allows text to wrap */
    word-wrap: break-word; /* Ensures long words break and don't overflow */
    max-width: 85%; /* Ensures it doesn't exceed the parent container */
  }

.jpsg-container {
    width: 100% !important; /* Ensure the form container takes the full width of its parent */
    max-width: 100% !important; /* Prevents it from exceeding the parent container width */
    margin: 0 auto;
    padding: 20px;
}
.jpsg-container h2 {
    text-align: center;
    color: #5b7e27; /* Green color for the title */
    font-size: 36px;
    margin-bottom: 10px;
}

.jpsg-buttons {
    text-align: center;
    margin-bottom: 20px;
}
/* For very small screens, reduce the number of columns */
@media (max-width: 768px) {
    .jpsg-buttons {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Adjust size for smaller screens */
    }
}

/* Adjust button size for mobile */
@media (max-width: 768px) {
    .jpsg-buttons button {
        font-size: 14px; /* Smaller font size */
        padding: 8px 15px; /* Reduce padding */
    }
}

.jpsg-buttons button{
    margin: 5px;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #5b7e27; /* Green border color */
    color: #5b7e27; /* Green text color */
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.jpsg-buttons button:hover {
    background-color: #5b7e27; /* Green background on hover */
    color: #fff; /* White text on hover */
}

.jpsg-buttons button.active {
    background-color: #5b7e27; /* Green background for active button */
    color: #fff;
}


.jpsg-buttons a{

    color: #5b7e27; /* Green text color */
}

.jpsg-buttons a:link {
    text-decoration: none;
}

.jpsg-buttons a:visited {
    text-decoration: none;
}

.jpsg-buttons a:hover {
    background-color: #5b7e27; /* Green background on hover */
    color: #fff; /* White text on hover */
}

.jpsg-buttons a.active {
    background-color: #5b7e27; /* Green background for active button */
    color: #fff;
}


.jpsg-container p {
    text-align: center;
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%; /* Makes the form take up the full width of the container */
    max-width: 100%; /* Ensures the form doesn't exceed the container width */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333; /* Change to black */
    font-weight: bold;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #5b7e27; /* Matching the green border */
    border-radius: 5px;
    box-sizing: border-box;
    max-width: 100%; /* Ensure it doesn't exceed the container */
}

.form-group button[type="button"] {
    margin: 5px;
    padding: 10px 20px;
    background-color: #5b7e27;
    border: 2px solid #5b7e27; /* Green border color */
    color: #fff; /* Green text color */
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
}


.form-group button[type="reset"] {
    margin: 5px;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #5b7e27; /* Green border color */
    color: #5b7e27; /* Green text color */
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.form-group button[type="reset"]:hover {
    background-color: #5b7e27; /* Green background on hover */
    color: #fff; /* White text on hover */
}

.form-group button[type="reset"].active {
    background-color: #5b7e27; /* Green background for active button */
    color: #fff;
}


#schema-output {
    margin-top: 30px;
}

#schema-json {
    color: #333;
    overflow-x: auto;
}

#copyButton {
    margin: 5px;
    padding: 10px 20px;
    background-color: #5b7e27;
    border: 2px solid #5b7e27; /* Green border color */
    color: #fff; /* Green text color */
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
}
#validateSchema {
    margin: 5px;
    padding: 10px 20px;
    background-color: #5b7e27;
    border: 2px solid #5b7e27; /* Green border color */
    color: #fff; /* Green text color */
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
}

#validateSchema  a{

    color: #fff; /* Green text color */
}

#validateSchema a:link {
    text-decoration: none;
}

#validateSchema  a:visited {
    text-decoration: none;
}

#validateSchema  a:hover {
    background-color: #5b7e27; /* Green background on hover */
    color: #fff; /* White text on hover */
}

#validateSchema  a.active {
    background-color: #5b7e27; /* Green background for active button */
    color: #fff;
}

