* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0, 20, 30, 0.1);
    padding: 35px 40px;
    transition: all 0.2s ease;
}

header {
    margin-bottom: 30px;
    text-align: center;
}

h1 {
    color: #0b2b4f;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.subtitle {
    color: #5b6f88;
    font-size: 16px;
    font-weight: 400;
}

/* Sección de búsqueda */
.search-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.search-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-wrapper input {
    width: 100%;
    padding: 16px 50px 16px 24px;
    border: 1.5px solid #dce3ec;
    border-radius: 60px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.search-wrapper input:focus {
    border-color: #0b2b4f;
    box-shadow: 0 0 0 4px rgba(11, 43, 79, 0.08);
}

.clear-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 28px;
    color: #8f9fb1;
    cursor: pointer;
    line-height: 1;
    display: none;
    transition: color 0.2s;
}

.clear-btn:hover {
    color: #0b2b4f;
}

.search-wrapper input:not(:placeholder-shown) + .clear-btn {
    display: block;
}

.stats {
    background: #eef2f6;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: #1d3a5c;
    white-space: nowrap;
}

/* Tabla */
.table-container {
    overflow-x: auto;
    border-radius: 18px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

th {
    background: #0b2b4f;
    color: white;
    font-weight: 500;
    font-size: 15px;
    padding: 16px 18px;
    text-align: left;
}

td {
    padding: 14px 18px;
    border-bottom: 1px solid #eef2f6;
    color: #1e2a36;
    font-size: 15px;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f5f9ff;
    cursor: default;
}

.code-badge {
    background: #e2eaf9;
    color: #0b2b4f;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 14px;
    display: inline-block;
}

.rif-cell {
    font-family: 'SF Mono', 'Menlo', monospace;
    color: #2c3e50;
    letter-spacing: 0.3px;
}

.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #6b7a8f;
    font-style: italic;
}

/* Línea divisoria tipo imagen */
.footer-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 30px 0 20px 0;
}

/* Footer */
footer {
    text-align: center;
    color: #5a6b7c;
    font-size: 14px;
}

.credits {
    margin-bottom: 6px;
    line-height: 1.5;
}

.website a {
    color: #0b2b4f;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.website a:hover {
    text-decoration: underline;
}