/* ===== ESTILOS GENERALES ===== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
    color: #333;
}

/* ===== LOGIN / ACCESO ===== */
.login-container {
    background: #ffffff;
    padding: 40px;
    max-width: 420px;
    margin: 80px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 24px;
}

.descripcion {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.login-container input {
    width: 85%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.login-container button {
    background: #2c7efc;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.login-container button:hover {
    background: #1a63d3;
}

.error {
    color: #ff4d4f;
    margin-top: 10px;
}

/* ===== BOTÓN SOLICITAR CÓDIGO ===== */
.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    background: #25D366;
    color: #fff;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.whatsapp-btn:hover {
    background: #1ebe57;
    transform: scale(1.03);
}

/* ===== DRIVE / LISTADO DE CARPETAS ===== */
.drive-container {
    max-width: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Título destacado */
.title-box {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
    border-bottom: 2px solid #2c7efc;
    padding-bottom: 10px;
}

/* ===== TABLA DE CARPETAS ===== */
.folders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.folders-table th, .folders-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.folders-table th {
    background: #f7f9fc;
    font-weight: 600;
    color: #2c3e50;
}

.folders-table tr:last-child td {
    border-bottom: none;
}

.folders-table tr:hover {
    background: #f0f4f8;
}

/* Icono y título */
.folder-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
}

/* Botón de descarga */
.download-btn {
    background: #2c7efc;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.download-btn:hover {
    background: #1a63d3;
    transform: scale(1.05);
}

/* ===== LISTADO DE ARCHIVOS (descargar.php) ===== */
.drive-container ul {
    list-style: none;
    padding-left: 0;
}

.drive-container ul li {
    margin-bottom: 12px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
    .login-container, .drive-container {
        margin: 40px 20px;
        padding: 25px;
    }
    .folders-table th, .folders-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    .download-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}





