body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding-top: 80px;
    /* Espacio para la nav fija */
}

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1000px;
    width: 90%;
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background-color: #f8f9fa;
    color: #5f6368;
    font-weight: 600;
}

.stats-badge {
    background: #1a73e8;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.9em;
}

.url-text {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

h1 {
    color: #1a73e8;
    margin-bottom: 1rem;
}

p {
    color: #5f6368;
    margin-bottom: 1.5rem;
}

input[type="url"],
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #dadce0;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    width: 100%;
}

button:hover {
    background-color: #1557b0;
}

#result {
    margin-top: 1.5rem;
}

/* Navegación Superior */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    padding: 15px 50px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.top-nav a {
    text-decoration: none;
    color: #5f6368;
    font-weight: 500;
    transition: color 0.3s;
}

.top-nav a:hover,
.top-nav a.active {
    color: #1a73e8;
}

/* Dashboard Cards */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.card h3 {
    margin: 0;
    color: #5f6368;
    font-size: 0.9em;
    text-transform: uppercase;
}

.card .value {
    font-size: 1.8em;
    font-weight: bold;
    color: #1a73e8;
    margin: 10px 0;
}

/* Anti-Adblock Overlay */
#adblock-msg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

#adblock-msg h2 {
    color: #ff4d4d;
    margin-bottom: 20px;
}

#adblock-msg button {
    width: auto;
    background: #ff4d4d;
    color: white;
    padding: 10px 30px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* Botón de Eliminar */
.btn-delete {
    background-color: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-delete:hover {
    background-color: #c82333;
}