body {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

th {
    background-color: #f2f2f2;
}

button {
    margin-right: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

.recovery-section {
  margin-top: 20px;
}

.recovery-section select {
  margin-right: 10px;
  padding: 5px;
}

.recovery-section button {
  padding: 5px 10px;
}


/* Card format for mobile screens */
@media (max-width: 768px) {
    .robot-card {
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-bottom: 20px;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .robot-card .card-header {
        font-weight: bold;
        margin-bottom: 10px;
    }

    .robot-card .card-body {
        display: flex;
        flex-direction: column;
    }

    .robot-card .card-body div {
        margin-bottom: 5px;
    }

    .robot-card .card-actions {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .robot-card .recovery-actions {
        display: flex;
        gap: 0.25rem;
        margin-top: 0.5rem;
    }

    .robot-card .recovery-actions .form-select {
        flex: 1;
    }

    .robot-card .recovery-actions .btn {
        white-space: nowrap;
    }

    /* Hide the table on mobile screens */
    #robotTable {
        display: none;
    }
}

