/* Estilos generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

header {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Contenedor principal para centrar contenido */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Rejilla de proyectos */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tarjeta de proyecto individual */

/* --- NUEVOS ESTILOS PARA LOGOS DE APP EN TARJETAS --- */
.app-logo {
    max-width: 70px; /* Tamaño del logo en la tarjeta */
    height: auto;
    margin-bottom: 15px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 1.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.project-card h2 {
    color: #0056b3;
    margin-top: 0;
}

/* Botón de la tarjeta */
.button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

.button.disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

/* --- NUEVOS ESTILOS ESPECÍFICOS PARA LA PÁGINA DE SCRIPTS (scripts.html) --- */

.scripts-page-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-top: 2rem;
}

.script-item {
    display: flex; /* Para poner el icono y el texto en línea */
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    text-align: left; /* Alineación del texto dentro del rectángulo */
    text-decoration: none; /* Quita el subrayado del enlace */
    color: #333;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.script-item:hover {
    background-color: #e6f2ff; /* Azul claro al pasar el mouse */
    border-color: #007bff; /* Borde azul */
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.2); /* Sombra suave */
}

.script-item h3 {
    margin: 0;
    color: #0056b3;
    font-size: 1.25rem;
}

.script-item p {
    margin: 0.5rem 0 0; /* Espacio entre título y descripción */
    color: #666;
    font-size: 0.95rem;
}

/* Icono (ej. un icono de archivo o de GitHub) */
.script-icon {
    margin-right: 15px;
    font-size: 2.5rem; /* Tamaño del icono */
    color: #007bff;
    /* Puedes reemplazar esto con un SVG si quieres un icono más específico */
    /* Ejemplo de SVG simple para un archivo: */
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>'); */
    /* width: 24px; height: 24px; background-repeat: no-repeat; background-size: contain; */
}


/* Pie de página */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}
