body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar .navbar-left .app-name {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 1.5em;
    display: inline-block;
    padding: 0.5em 0.5em;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-form {
    display: flex;
    align-items: center;
}

.env-select, .date-input {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.env-select option {
    font-size: 14px;
    padding: 8px;
    background-color: #f9f9f9;
}

.env-select option:hover {
    background-color: #f1f1f1;
}

.search-button {
    background-color: #379777;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.search-button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
        position: relative;
    }

    .navbar-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .env-select, .date-input {
        margin: 5px 0;
        width: 100%;
    }

    .search-button {
        width: 100%;
    }
}

.container {
    padding: 20px;
    margin-top: 80px;
}

.container .message {
    text-align: center;
    margin: 20px;
    margin-top: 50px;
    font-weight: bold;
    padding: 10px;
    font-size: 20px;
}

.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
    flex-wrap: wrap;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.pie-chart, .line-chart {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.line-chart {
    min-width: 50%;
}

.line-chart canvas {
    width: 100% !important;
    height: 300px !important;
}

.chart-title {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    cursor: pointer;
}

table th {
    background-color: #435560;
    color: white;
}

table th:hover {
    background-color: #6E7C7C;
}

table th a {
    text-decoration: none;
    color: white;
}

table th a:hover {
    color: #f1f1f1;
    text-decoration: none;
}

table a {
    color: #0062cc;
    text-decoration: none;
}

table a:hover {
    color: #0056b3;
    text-decoration: underline;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #ddd;
}

.test-name {
    width: 20%;
}

.table-title {
   margin-bottom: 10px;
   margin-top: 50px;
   font-size: 20px;
   font-weight: bold;
}

.sortable:hover {
    background-color: #ddd;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #207823;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none; /* Initially hidden */
    z-index: 9999;
}

.options-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 10px;
    right: 50px;
    margin-top: 5px;
    border-radius: 5px;
}

.options-menu a {
    display: block;
    padding: 5px 8px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    text-align: left;
}

.options-menu a:hover {
    background-color: #f1f1f1;
    text-decoration: none;
}

.options-button {
    background-color: #5b5b5b;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
}

.options-button:hover {
    background-color: #45a049;
}

.scenario {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f0f8ff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 10px;
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    background-color: #c5cdcb;
    margin-bottom: 10px;
    border-radius: 5px;
}

.scenario-info {
    text-align: right;
    font-weight: bold;
}

.scenario-info p {
    margin: 0;
}

.scenario h2 {
    cursor: pointer;
    padding: 10px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    min-width: 60%;
}

.scenario-header:after {
    content: '\25BC';
    font-size: 12px;
    margin-left: 10px;
    padding-right: 10px;
}

.scenario-header .collapsed:after {
    content: '\25B2';
    padding-right: 10px;
}

.scenario-pass {
    background-color: #ADD899;
}

.scenario-fail {
    background-color: #ff9090;
}

.steps {
    display: none;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
}

.steps table {
    width: 100%;
    border-collapse: collapse;
}

.steps th, .steps td {
    border: 1px solid #ddd;
    padding: 8px;
}

.status-pass {
    color: green;
}

.status-fail {
    color: red;
}

.wrap-text {
    white-space: normal;
    max-width: 250px;
    word-break: break-word;
}

.step-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    margin-bottom: 10px;
    background-color: #E5E1DA;
    border-radius: 5px;
}

.step-container:after {
    content: '\25BC';
    font-size: 12px;
    margin-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}

.step-container .collapsed:after {
    content: '\25B2';
    padding-right: 10px;
}

.step-name {
    flex: 1;
    min-width: 70%;
}

.step-status {
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #000;
    min-width: 10%;
    font-weight: bold;
}

.step-date {
    min-width: 10%;
}

.status-passed {
    color: #28a745; /* Green for passed status */
}

.status-failed {
    color: #dc3545; /* Red for failed status */
}

.status-error {
    color: #dc3545; /* Red color for error text */
}

.toggle-div {
    display: none;
    padding: 10px;
    color: #721c24; /* Dark red color for error div */
    margin-top: 10px;
}

.toggle-error {
    display: block;
}

.error-link {
    color: #721c24;
    text-decoration: underline;
    cursor: pointer;
}
 /* Responsive adjustments */
 @media (max-width: 768px) {
     table th, table td {
         padding: 6px;
         font-size: 14px;
     }

     .chart-item {
             max-width: 100%;
     }
 }

.container .header-container {
    display: flex;
    justify-content: space-between;
    margin: 10px;
}

.header-container h1 {
    font-size: 22px;
    font-weight: bold;
    padding: 10px 0px;
    margin: 20px 0px
}

.header-container button {
    background-color: #c7c7c7;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 20px 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

tr.aggregate td {
    background-color: #C7B7A3;
    font-weight: bold;
}

table th.table-vertical-name {
    text-align: left;
    width: 20%;
}

table th.table-feature-name {
    text-align: left;
    width: 20%;
}

table th.table-header-data {
    text-align: center;
    width: 10%;
}

table td.table-value {
    text-align: center;
}

.step-pass {
    color: green;
}

.step-fail {
    color: red;
}

.step-skip {
    color: orange;
}