body {
    font-family: 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eef1fb;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

.wpstream_speed_header_wrapper {
    background: linear-gradient(135deg, #597DFB, #4E2EE6);
    padding: 30px;
    text-align: left;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px;
    position: relative;
}

.wpstream_speed_header_wrapper::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -30px;
    right: -50px;
}

.wpstream_speed_header_wrapper h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin: 0 20px;
}

.wpstream_speed_wrapper {
    width: 90%;
    max-width: 1000px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.wpstream_speed_wrapper::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(113, 148, 250, 0.15);
    border-radius: 50%;
    top: -100px;
    left: -50px;
}

button {
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 15px 10px;
    font-weight: bold;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    top: -100%;
    left: -100%;
    transition: 0.3s ease;
    border-radius: 50%;
}

button:hover::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
}

.start-btn {
    background: #597DFB;
    color: #fff;
}

.start-btn:hover {
    background: #4E2EE6;
}

.start-btn:disabled {
    background: #B0C4FF;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.6;
}

#stoptest {
    background: #ff4d4d;
    color: white;
}

#stoptest:hover {
    background: #cc0000;
}

#stoptest:disabled {
    background: #d3d3d3;
    color: #777;
    cursor: not-allowed;
    opacity: 0.6;
}

.save-btn {
    background: #6c757d;
    color: white;
}

.save-btn:hover {
    background: #545b62;
}

.save-btn:disabled {
    background: #d3d3d3;
    color: #777;
    cursor: not-allowed;
    opacity: 0.6;
}

.tableout {
    margin-top: 25px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

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

th {
    background: #597DFB;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #4E2EE6;
}

tr:nth-child(odd) {
    background: #f9faff;
}

.instructions, .notes {
    text-align: left;
    margin-top: 25px;
    background: #dde4ff;
    padding: 20px;
    border-left: 6px solid #597DFB;
    border-radius: 8px;
    font-size: 15px;
    font-weight: normal;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}
