* {
    padding:0;
    margin:0;
}

body {
        font-family: system-ui;
        padding: 3rem;
    
}

h1 {
    margin-bottom: 1rem;
}

h2 {
    margin-bottom: 1rem;
}

button {
    padding: 0.5rem 1rem;
    border-radius: 3rem;
    border: 1px solid #ccc;
    cursor: pointer;
}

button:hover {
    border: 1px solid #aaa;
    background-color: #ddd;
}

.filtros {
    padding:1rem 0;
}

.buscador {

    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    margin-bottom:1rem;

    input {
        padding: 0.5rem 1rem;
        margin-right: 1rem;
        flex-grow: 4;
        border-radius: 3rem;
        border: 1px solid #ccc;
    }
}


.enviado span {
    background-color:#7abf7edb;
    padding:0.2rem 1rem;
    color:white;
    border-radius:2rem;
    font-weight:bold;
    border: 1px solid #7abf7e;
}

.nuevo span {
    background-color:#ff2020db;
    padding:0.2rem 1rem;
    color:white;
    border-radius:2rem;
    font-weight:bold;
    border: 1px solid #cc0000;
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table,
th,
td {
    border: 1px solid #ccc;
}

th {
    background-color: #b3d8c7;
}

th,
td {
    padding: 10px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2fffa;
}

tr:nth-child(even):hover {
    background-color: #e1fae4;
}

tr:nth-child(odd):hover {
    background-color: #fafafa;
}

#preview-container {
    border: 1px solid #ccc;
    padding: 3rem;
    margin: 2rem 0;

}



.progress-bar {
    width: 0%;
    height: 30px;
    background-color: #4caf50;
    text-align: center;
    line-height: 30px;
    color: white;
}

.progress-container {
    width: 100%;
    background-color: #f3f3f3;
    margin-top: 20px;
}

.no-attempts {
    background-color: red;
    color: white;
}