/* Modern CSS Reset and Variables */
:root {
    --primary-color: #121b07;
    --secondary-color: #60b114;
    --background-color: #f3f4f6;
    --header-bg: linear-gradient(135deg, #000000, #ffe100);
    --text-color: #1f2937;
    --row-hover: #eef2ff;
    --border-color: #e5e7eb;
    --hover-color: #e0e7ff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.12);
    --success-color: #10b981;
    --error-color: #ef4444;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

/* Header Styles */
header {
    background: var(--header-bg);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: headerFadeIn 0.8s ease-out;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}




@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

header p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
}

#searchInput {
    width: 100%;
    padding: 1.25rem 3rem 1.25rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

#searchInput:focus {
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

/* Table Styles */
main {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 1rem;
    animation: mainFadeIn 1s ease-out 0.3s both;
}

@keyframes mainFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

thead {
    background: var(--header-bg);
    color: white;
}

th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background-color: var(--row-hover);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* "Yes" and "No" styling */
td:nth-child(3) {
    font-weight: 600;
}

td:nth-child(3):contains('Yes') {
    color: var(--success-color);
}

td:nth-child(3):contains('No') {
    color: var(--error-color);
}

/* Unlock IMEI column */
td:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    animation: footerFadeIn 1s ease-out 0.6s both;
    background: white;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
    }

    th,
    td {
        padding: 0.75rem;
        white-space: nowrap;
    }

    h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}



:root {
    --primary-color: #003366;
    --secondary-color: #00bcd4;
    --background-color: #f1f5f9;
    --header-bg: linear-gradient(135deg, #004d99, #00bcd4);
    --text-color: #1e293b;
    --row-hover: #e0f7fa;
    --border-color: #cbd5e1;
    --hover-color: #b2ebf2;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.12);
    --success-color: #009688;
    --error-color: #e53935;
}

:root {
    --primary-color: #0b3d0b; /* Verde oscuro elegante */
    --secondary-color: #4caf50; /* Verde principal */
    --background-color: #f4fdf6; /* Fondo muy claro verdoso */
    --header-bg: linear-gradient(135deg, #004d40, #a5d6a7); /* De verde botella a verde menta */
    --text-color: #1b2e1b; /* Gris oscuro verdoso */
    --row-hover: #e9f5ee; /* Verde muy suave al pasar mouse */
    --border-color: #c8e6c9;
    --hover-color: #d0f0db;
    --shadow-sm: 0 1px 3px rgba(0, 64, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 64, 0, 0.12);
    --success-color: #2e7d32; /* Verde éxito */
    --error-color: #e53935; /* Rojo para errores */
}


:root {
    --primary-color: #174f00; /* Verde oscuro para detalles */
    --secondary-color: #aeea00; /* Verde lima neón */
    --background-color: #fafff3; /* Blanco verdoso */
    --header-bg: linear-gradient(135deg, #1b5e20, #c6ff00); /* Verde hoja a lima fosforescente */
    --text-color: #1a2e05;
    --row-hover: #f0fbe6;
    --border-color: #dcedc8;
    --hover-color: #e9f8d2;
    --shadow-sm: 0 1px 3px rgba(100, 255, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(140, 255, 0, 0.15);
    --success-color: #408f00;
    --error-color: #d32f2f;
}


body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode header {
  background: linear-gradient(135deg, #000000, #333333) !important;
}

body.dark-mode table {
  background-color: #222 !important;
  color: #eee;
}

body.dark-mode thead {
  background: #333 !important;
  color: #fff;
}

body.dark-mode td,
body.dark-mode th {
  border-color: #444;
}

body.dark-mode #searchInput {
  background-color: #2b2b2b;
  color: #fff;
}

body.dark-mode .search-icon {
  color: #aaa;
}

body.dark-mode footer {
  background: #1f1f1f;
  color: #aaa;
}

body.dark-mode tbody tr:hover {
  background-color: #2c2c2c !important;
  box-shadow: none;
}



.botones-capsula {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.boton-gradiente {
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #60b114, #a4e46e);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(96, 177, 20, 0.3);
}




.boton-gradiente:hover {
  background: linear-gradient(135deg, #4e9a0b, #8bd44c);
  transform: scale(1.05);
}

.boton-whatsapp {
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.boton-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe5d, #0f6f66);
  transform: scale(1.05);
}

.boton-telegram {
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0088cc, #2ca5e0);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
}

.boton-telegram:hover {
  background: linear-gradient(135deg, #007ab8, #1c94d4);
  transform: scale(1.05);
}



@media only screen and (max-width: 767px) {
    header {
        display: none !important;
    }
}


