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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.form-container {
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 40px;
    width: 80%;
    max-width: 1000px;
}

.form-sections {
    display: flex;
    justify-content: space-between;
}

.error {
    border-color: red;
}

.form-section {
    width: 70%;
    padding: 10px;
}

.form-section:first-child {
    border-right: 1px solid #ccc;
}

.form-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.domain_label_text {
    font-size: 11px;
    color: #555555;
}
.Acceptor label {
    color: blue;
}

.requester label {
    color: red;
}

.form-group input {
    color: #000;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.hardcoded-value {
    color: black;
    background-color: #e0e0e0;
    border: none;
    pointer-events: none;
}

.editable-input {
    color: #000;
}
.website_link {
    list-style: none;
    cursor: pointer;
    color:blue;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Diagram style */
.diagram-main-container {
    display: none;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    width: 83%;
    max-width: 1044px;
}

.diagram-container {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 20px;
    width: 71%;
    position: relative;
}

.inner-box {
    border: 2px dashed #bb511d;
    padding: 10px;
    min-width: 220px;
    margin: 10px 0;
    position: relative;
}

.title {
    background-color: #f7f7f7;
    padding-top: 2px;
    padding-bottom: 15px;
    /* padding: 15px 5px; */
    color: black;
    text-align: center;

    font-weight: bold;
}

.accepter {
    color: black;
}

.content-title {
    margin-bottom: 10px;
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

.content {
    color: red;
    font-size: 12px;
    font-weight: 200;
}

.content-accepter {
    color: blue;
    font-size: 12px;
    font-weight: 200;
}

/* diagram image set */
img {
    width: 66px;
    height: 57px;
    align-self: center;
}

.diagram-set-img {
    display: flex;
    justify-content: space-between;
}

.img-div {
    align-self: center;
}

.img-div p {
    text-align: center;
    font-size: 12px;
}

/*connecter arrow line  */
.rpc-container {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    position: relative;
    width: 300px;
    height: 50px;
}

.rpc-text {
    font-weight: bold;
    font-size: 16px;
    z-index: 200;
    /* Keeps the text above the line */
}

.arrow {
    width: 50%;
    height: 1px;
    background-color: black;
    position: relative;
}

.left-arrow::before,
.right-arrow::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 8px;
    border-top: 2px solid black;
    border-right: 2px solid black;
    background-color: transparent;
}

.left-arrow::before {
    left: 0;
    top: -4px;
    transform: rotate(224deg);
}

.right-arrow::after {
    right: 0;
    top: -4px;
    transform: rotate(45deg);
}

/* text section */
.copy-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.text-container {
    display: none;
    justify-content: space-between;
    margin-top: 40px;
    width: 83%;
    max-width: 1044px;
    margin-bottom: 40px;
    position: relative;
    margin-bottom: 20px;
}


.text-left,
.text-right {
    border: 1px solid #ddd;
    padding: 15px;
    width: 49%;
    background-color: #f9f9f9;
    box-sizing: border-box;
    overflow-wrap: break-word;
    position: relative;
    border: 1px solid #ccc;
}


.text-container h2 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    word-wrap: break-word;
}


.text-container p {
    font-size: 12px;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.text-red {
    color: red;
}

.text-blue {
    color: blue;
}

/* Adjust copy icon styles */
.copy-icon {

    font-size: 32px;
    padding-right: 12px;
    padding-top: 8px;
    font-weight: 400;
    color: #727070;
    align-items: center;
    cursor: pointer;
}

/* Copy text show */
.copied-text {
    font-size: 12px;
    color: green;
    display: none;
    position: absolute;
    top: -26px;
    /* Adjust this value to move the "Copied!" text higher or lower */
    left: 50%;
    transform: translateX(-90%);
    margin-left: 0;
}

.title-container {
    text-align: center;
    margin-bottom: 20px;
}

.title-container h1 {
    font-size: 2em;
    color: #333;
    margin: 0;
}

.title-container .version {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}


/* Disclaimer Section Styling */
.disclaimer {
    background-color: #f9f9f9; /* Light background color */
    border-left: 4px solid #ff5c5c; /* Red border to emphasize */
    padding: 15px;
    margin: 20px 0;
    font-size: 0.9em;
    color: #555; /* Slightly darker text color */
}

.disclaimer h3 {
    margin-top: 0;
    color: #d9534f; /* Red color for the "Disclaimer:" title */
    font-weight: bold;
}

.disclaimer p {
    margin: 10px 0;
    line-height: 1.6;
}



.table-container {
    margin-top: 30px;
    display: none; /* Hide initially */
    width: 100%;
    max-width: 1044px;
}

.table-container h2 {
    text-align: center;
}

#formDataTable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

#formDataTable th, #formDataTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#formDataTable th {
    background-color: #f2f2f2;
}


#formDataTable td.field-name {
    font-weight: bold;
}


/* Requestor Column Style */
#formDataTable td.requestor-cell {
    color: #FF0000; /* Change this color to whatever you prefer for Requestor */
}

/* Acceptor Column Style */
#formDataTable td.acceptor-cell {
    color: #0000FF; /* Change this color to whatever you prefer for Acceptor */
}

/* Styling the Headings */
#formDataTable th.requestor-heading {/* Background color for Requestor heading */
     
     color: #FF0000; 
}

#formDataTable th.acceptor-heading {
    
    color: #0000FF;
}


/* Media queries */


@media (max-width: 1084px) {

    .rpc-container {
        display: none;
    }

    .form-section {
        flex-direction: column;
    }

    .form-section:first-child {
        border-right: none;
    }

    .form-section {
        padding: 2px;
        margin: auto;
    }

    .form-sections {
        flex-direction: column;
    }

    /* Diagram style */
    .diagram-main-container {
        flex-direction: column;
    }

    .diagram-container {
        width: 96%;
    }

    /* text container */
    .text-container {
        flex-direction: column;
    }

    .text-left,
    .text-right {
        width: 100%;
        margin-top: 30px;
    }

    .inner-box {
        min-width: 319px;
        padding: 28px;
    }
}

@media (max-width: 841px) {
    .inner-box {
        min-width: 319px;
        padding: 20px;
    }
}

@media (max-width: 715px) {
    .img-div {
        display: none;
    }
}

@media (max-width: 611px) {
    .inner-box {
        min-width: 230px;
    }
}

@media (max-width: 504px) {
    .inner-box {
        min-width: 170px;
        padding: 14px;
    }
}