/* General */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #3c4043;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 30px;
    color: #5f6368;
}

/* Sección de Subida */
.upload-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(60,64,67,0.3);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

input[type="file"] {
    font-size: 14px;
    color: #5f6368;
}

button {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}

button:hover {
    background-color: #1765cc;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

/* Cuadrícula de Archivos */
.grid-archivos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Tarjeta de Archivo */
.archivo-card {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 16px;
    transition: background-color 0.2s, box-shadow 0.2s;
    cursor: default;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.archivo-card:hover {
    background-color: #f1f3f4;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

.archivo-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archivo-card span {
    font-size: 12px;
    color: #70757a;
    display: block;
    margin-top: 5px;
}

.archivo-card small {
    font-size: 11px;
    color: #9aa0a6;
    margin-top: 15px;
}

/* Icono genérico para simular archivos */
.archivo-card::before {
    content: "📄";
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
    color: #1a73e8;
}