body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 20px;
}

#customerList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.company {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.company p {
    margin: 5px 0;
}

.company img.backup-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.company-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.company-details {
    display: flex;
    align-items: center;
}

.backup-info {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.backup-date {
    margin: 0;
}

.missing-date .warning-icon,
.warning-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    animation: blink 1s infinite;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modalCustomer {
    font-weight: bold;
    margin-bottom: 1em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

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

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

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

th:nth-child(1), td:nth-child(1) {
    width: 70%;
}

th:nth-child(2), td:nth-child(2) {
    width: 30%;
}

.icono-sistema {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
}

.icono-datos {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
}

.icono-archivo {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.filename { 
    margin-left: 8px;      
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
