* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background:
        linear-gradient(rgba(15, 23, 42, 0.8),
            rgba(30, 41, 59, 0.8)),
        url('https://www.ubo.cl/wp-content/uploads/504.jpeg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh;
    color: white;
}



.layout {
    display: flex;
    min-height: 100vh;
}



.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.sidebar p {
    color: #cbd5e1;
}



.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}



.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4);
}

h1 {
    margin-bottom: 30px;
    font-size: 36px;
}



.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    margin-top: 20px;
}



label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    background: rgba(255, 255, 255, 0.06);

    color: white;
    font-size: 15px;

    outline: none;
    transition: 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #3b82f6;

    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.2);
}

select option {
    background: #1e293b;
    color: white;
}

textarea {
    min-height: 120px;
    resize: vertical;
}



button {
    margin-top: 25px;

    padding: 16px;
    border: none;
    border-radius: 14px;

    background: linear-gradient(135deg,
            #2563eb,
            #3b82f6);

    color: white;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(37, 99, 235, 0.4);
}

/* TABLE */

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px;
    text-align: left;
}

th {
    color: #93c5fd;
}

tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tabla {

    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);

}

.tabla th {

    background: rgba(37, 99, 235, 0.8);
    color: white;
    padding: 14px;
    font-size: 14px;
    text-align: center;

}

.tabla td {

    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    font-size: 13px;

}

.tabla tr:hover {

    background: rgba(255, 255, 255, 0.05);

}

.pdf-btn {

    background: #dc2626;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;

}

.pdf-btn:hover {

    background: #b91c1c;

}

.botones {

    margin-top: 20px;
    display: flex;
    gap: 10px;

}

/* SEARCH & PAGINATION */

.search-container {
    margin-top: 30px;
    margin-bottom: 15px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    outline: none;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination button {
    margin-top: 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.pagination button:hover {
    background: rgba(37, 99, 235, 0.8);
    transform: none;
    box-shadow: none;
}

.pagination button.active {
    background: #2563eb;
    border-color: #3b82f6;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* EQUIPOS ADICIONALES Y REPLICACIÓN */
.equipo-extra-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.equipo-extra-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #93c5fd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.replicar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.replicar-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.replicar-container label {
    margin-bottom: 0;
    cursor: pointer;
}