/* styles.css */
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.container {
    text-align: center;
}

.error-block{
    background:#fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    /* top: 50%; */
    left: 50%;
    transform: translate(-50%, 0%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.custom-container {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    /* top: 50%; */
    left: 50%;
    transform: translate(-50%, 0%);
    margin: 5px;
}



.inboxtable {
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    /* width: 50%; */
    margin: 20px auto;
}

.inboxtable th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

.inboxtable tr:nth-child(even) {
    background-color: #fff;
}

.inboxtable th {
    background-color: #4c74af;
    color: white;
}


/* form */
body {
    font-family: san-serif;
    background-color: #f2f2f2 !important;
}

h1 {
    text-align: center;
    color: darkblue;
}

form {
    max-width: 400px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.log-table{
    display: flex;
    justify-content: center;
    align-items: center;
}
#logsTable{
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px;
    overflow: auto;
    max-height: 300px;
    display: block;
    width: 80%;
    margin-top: 50px;
}

#sdetails th {
    background-color: #3a3aab;
    color: #fff;
    border: 1px solid #fff ;
}
pre {
    background-color: #000000;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px;
    overflow: auto;
    max-height: 300px;
    width: 1000px;
}

/* Style log lines */
pre code {
    font-family: Consolas, monospace;
    font-size: 14px;
    white-space: pre-wrap;
    line-height: 1.4;
    color: #fff;
}


#startButton, #stopButton {
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    color: white;
    cursor: pointer;
    margin: 15px 20px;
    width: 300px;
    border-radius: 10px;
}
#startButton{
    background-color: #007BFF;
}
#stopButton {
    background-color: #FF6B6B;
}
.blockstyle{
    background-color: #ddd;
    border: 1px solid grey;
    border-radius: 10px;
    margin-top: 25px;
}
.aligncenter{
    text-align: center;

}
#json-data{
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
  }
  
  ::-webkit-scrollbar-track {
    background-color: #eee;
  }