body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}
.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
h1 {
    color: #333;
    text-align: center;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"], select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
}
button:hover {
    background-color: #45a049;
}
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}
.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}
.alert-error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}
.alert-info {
    background-color: #d9edf7;
    color: #31708f;
    border: 1px solid #bce8f1;
}
.instructions {
    margin-top: 20px;
    padding: 15px;
    background-color: #e7f3fe;
    border-left: 5px solid #2196F3;
}
.loading {
    display: none;
    text-align: center;
    margin: 15px 0;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 0 auto 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.status-message {
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.tab-container {
    margin-bottom: 20px;
}
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    border-radius: 4px 4px 0 0;
}
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
    font-size: 16px;
    border-radius: 0;
    margin-right: 0;
}
.tab button:hover {
    background-color: #ddd;
}
.tab button.active {
    background-color: #4CAF50;
    color: white;
}
.tabcontent {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    animation: fadeEffect 1s;
}
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
.btn-read {
    background-color: #2196F3;
}
.btn-read:hover {
    background-color: #0b7dda;
}
.btn-check {
    background-color: #ff9800;
}
.btn-check:hover {
    background-color: #e68a00;
}
.btn-reset {
    background-color: #f44336;
}
.btn-reset:hover {
    background-color: #da190b;
}
.card-data {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    border: 1px solid #ddd;
    display: none;
}
.card-data h3 {
    margin-top: 0;
    color: #333;
}
.data-row {
    margin-bottom: 10px;
}
.data-label {
    font-weight: bold;
    display: inline-block;
    width: 120px;
}
.server-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    background-color: #cccccc;
}
.status-online {
    background-color: #4CAF50;
}
.status-offline {
    background-color: #f44336;
}
.status-text {
    font-size: 12px;
    vertical-align: middle;
}
.system-status {
    text-align: right;
    margin-bottom: 15px;
}